HSL(311, 24%, 85%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(311,24%,85%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(311, 24%, 85%) | color: hsl(311, 24%, 85%) | |
| HEX | #E2D0DF | color: #E2D0DF | |
| RGB | rgb(226, 208, 223) | color: rgb(226, 208, 223) | |
| CMYK | cmyk(0%, 8%, 1%, 11%) | — | |
| HSV | hsv(310, 8%, 89%) | — | |
| HWB | hwb(310 82% 11%) | color: hwb(310 82% 11%) | |
| OKLCH | oklch(0.8767 0.0282 331.25) | color: oklch(0.8767 0.0282 331.25) | |
| Lab | lab(85.31 8.85 -5.14) | color: lab(85.31 8.85 -5.14) | |
| LCH | lch(85.31 10.23 329.85) | color: lch(85.31 10.23 329.85) |
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)
#DADADB — rgb(218, 218, 219)
Deuteranopia (Green-blind)
#DBDDDB — rgb(219, 221, 219)
Tritanopia (Blue-blind)
#E1D9D8 — rgb(225, 217, 216)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(311, 24%, 85%);
text
color: hsl(311, 24%, 85%);
border
border: 2px solid hsl(311, 24%, 85%);
gradient light
background: linear-gradient(to right, hsl(311, 24%, 100%), hsl(311, 24%, 85%));
gradient dark
background: linear-gradient(to right, hsl(311, 24%, 85%), hsl(311, 24%, 65%))
hex
background-color: #E2D0DF;
tailwind
bg-[hsl(311,24%,85%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(311, 24%, 85%, 0.4);
css variable
--color-primary: hsl(311, 24%, 85%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(311, 24%, 85%)?
HEX: #E2D0DF | RGB: rgb(226, 208, 223) | CMYK: 0%, 8%, 1%, 11% | HSV: 310°, 8%, 89%. Copy any format from the conversion table above.
What colors go well with #E2D0DF?
The complementary color is HSL(131, 24%, 85%). For a triadic harmony, use hues 311°, 71°, and 191°. For analogous combinations, try hues 281° and 341°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(311, 24%, 85%) in CSS?
As HSL: color: hsl(311, 24%, 85%); — As HEX: color: #E2D0DF; — As RGB: color: rgb(226, 208, 223); — Tailwind CSS: bg-[hsl(311,24%,85%)] — CSS variable: --color-primary: hsl(311, 24%, 85%);