HSL(287, 20%, 85%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(287,20%,85%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(287, 20%, 85%) | color: hsl(287, 20%, 85%) | |
| HEX | #DDD1E0 | color: #DDD1E0 | |
| RGB | rgb(221, 209, 224) | color: rgb(221, 209, 224) | |
| CMYK | cmyk(1%, 7%, 0%, 12%) | — | |
| HSV | hsv(288, 7%, 88%) | — | |
| HWB | hwb(288 82% 12%) | color: hwb(288 82% 12%) | |
| OKLCH | oklch(0.8748 0.0241 319.45) | color: oklch(0.8748 0.0241 319.45) | |
| Lab | lab(85.18 6.81 -5.9) | color: lab(85.18 6.81 -5.9) | |
| LCH | lch(85.18 9.01 319.1) | color: lch(85.18 9.01 319.1) |
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)
#D8D8DC — rgb(216, 216, 220)
Deuteranopia (Green-blind)
#D9D9DC — rgb(217, 217, 220)
Tritanopia (Blue-blind)
#DCDAD9 — rgb(220, 218, 217)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(287, 20%, 85%);
text
color: hsl(287, 20%, 85%);
border
border: 2px solid hsl(287, 20%, 85%);
gradient light
background: linear-gradient(to right, hsl(287, 20%, 100%), hsl(287, 20%, 85%));
gradient dark
background: linear-gradient(to right, hsl(287, 20%, 85%), hsl(287, 20%, 65%))
hex
background-color: #DDD1E0;
tailwind
bg-[hsl(287,20%,85%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(287, 20%, 85%, 0.4);
css variable
--color-primary: hsl(287, 20%, 85%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(287, 20%, 85%)?
HEX: #DDD1E0 | RGB: rgb(221, 209, 224) | CMYK: 1%, 7%, 0%, 12% | HSV: 288°, 7%, 88%. Copy any format from the conversion table above.
What colors go well with #DDD1E0?
The complementary color is HSL(107, 20%, 85%). For a triadic harmony, use hues 287°, 47°, and 167°. For analogous combinations, try hues 257° and 317°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(287, 20%, 85%) in CSS?
As HSL: color: hsl(287, 20%, 85%); — As HEX: color: #DDD1E0; — As RGB: color: rgb(221, 209, 224); — Tailwind CSS: bg-[hsl(287,20%,85%)] — CSS variable: --color-primary: hsl(287, 20%, 85%);