HSL(285, 20%, 83%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(285,20%,83%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(285, 20%, 83%) | color: hsl(285, 20%, 83%) | |
| HEX | #D8CBDC | color: #D8CBDC | |
| RGB | rgb(216, 203, 220) | color: rgb(216, 203, 220) | |
| CMYK | cmyk(2%, 8%, 0%, 14%) | — | |
| HSV | hsv(286, 8%, 86%) | — | |
| HWB | hwb(286 79% 14%) | color: hwb(286 79% 14%) | |
| OKLCH | oklch(0.8577 0.0271 318.23) | color: oklch(0.8577 0.0271 318.23) | |
| Lab | lab(83.17 7.56 -6.79) | color: lab(83.17 7.56 -6.79) | |
| LCH | lch(83.17 10.16 318.07) | color: lch(83.17 10.16 318.07) |
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)
#D2D2D8 — rgb(210, 210, 216)
Deuteranopia (Green-blind)
#D3D4D7 — rgb(211, 212, 215)
Tritanopia (Blue-blind)
#D7D5D4 — rgb(215, 213, 212)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(285, 20%, 83%);
text
color: hsl(285, 20%, 83%);
border
border: 2px solid hsl(285, 20%, 83%);
gradient light
background: linear-gradient(to right, hsl(285, 20%, 100%), hsl(285, 20%, 83%));
gradient dark
background: linear-gradient(to right, hsl(285, 20%, 83%), hsl(285, 20%, 63%))
hex
background-color: #D8CBDC;
tailwind
bg-[hsl(285,20%,83%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(285, 20%, 83%, 0.4);
css variable
--color-primary: hsl(285, 20%, 83%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(285, 20%, 83%)?
HEX: #D8CBDC | RGB: rgb(216, 203, 220) | CMYK: 2%, 8%, 0%, 14% | HSV: 286°, 8%, 86%. Copy any format from the conversion table above.
What colors go well with #D8CBDC?
The complementary color is HSL(105, 20%, 83%). For a triadic harmony, use hues 285°, 45°, and 165°. For analogous combinations, try hues 255° and 315°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(285, 20%, 83%) in CSS?
As HSL: color: hsl(285, 20%, 83%); — As HEX: color: #D8CBDC; — As RGB: color: rgb(216, 203, 220); — Tailwind CSS: bg-[hsl(285,20%,83%)] — CSS variable: --color-primary: hsl(285, 20%, 83%);