HSL(310, 70%, 71%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(310,70%,71%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(310, 70%, 71%) | color: hsl(310, 70%, 71%) | |
| HEX | #E981D8 | color: #E981D8 | |
| RGB | rgb(233, 129, 216) | color: rgb(233, 129, 216) | |
| CMYK | cmyk(0%, 45%, 7%, 9%) | — | |
| HSV | hsv(310, 45%, 91%) | — | |
| HWB | hwb(310 50% 9%) | color: hwb(310 50% 9%) | |
| OKLCH | oklch(0.7451 0.1654 333.45) | color: oklch(0.7451 0.1654 333.45) | |
| Lab | lab(68.01 51.62 -27.31) | color: lab(68.01 51.62 -27.31) | |
| LCH | lch(68.01 58.4 332.12) | color: lch(68.01 58.4 332.12) |
Color Theory
Accessibility (WCAG)
White text on color
Black text on color
Colored text
Contrast Ratios
AA Normal (4.5:1)
AA Large (3:1)
AAA Normal (7:1)
Best text on this color: black
Color Blindness Simulation
Protanopia (Red-blind)
#BCBBC3 — rgb(188, 187, 195)
Deuteranopia (Green-blind)
#C2CABE — rgb(194, 202, 190)
Tritanopia (Blue-blind)
#E4B2AF — rgb(228, 178, 175)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(310, 70%, 71%);
text
color: hsl(310, 70%, 71%);
border
border: 2px solid hsl(310, 70%, 71%);
gradient light
background: linear-gradient(to right, hsl(310, 70%, 91%), hsl(310, 70%, 71%));
gradient dark
background: linear-gradient(to right, hsl(310, 70%, 71%), hsl(310, 70%, 51%))
hex
background-color: #E981D8;
tailwind
bg-[hsl(310,70%,71%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(310, 70%, 71%, 0.4);
css variable
--color-primary: hsl(310, 70%, 71%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(310, 70%, 71%)?
HEX: #E981D8 | RGB: rgb(233, 129, 216) | CMYK: 0%, 45%, 7%, 9% | HSV: 310°, 45%, 91%. Copy any format from the conversion table above.
What colors go well with #E981D8?
The complementary color is HSL(130, 70%, 71%). For a triadic harmony, use hues 310°, 70°, and 190°. For analogous combinations, try hues 280° and 340°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(310, 70%, 71%) in CSS?
As HSL: color: hsl(310, 70%, 71%); — As HEX: color: #E981D8; — As RGB: color: rgb(233, 129, 216); — Tailwind CSS: bg-[hsl(310,70%,71%)] — CSS variable: --color-primary: hsl(310, 70%, 71%);