HSL(282, 40%, 85%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(282,40%,85%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(282, 40%, 85%) | color: hsl(282, 40%, 85%) | |
| HEX | #DFC9E8 | color: #DFC9E8 | |
| RGB | rgb(223, 201, 232) | color: rgb(223, 201, 232) | |
| CMYK | cmyk(4%, 13%, 0%, 9%) | — | |
| HSV | hsv(283, 13%, 91%) | — | |
| HWB | hwb(283 79% 9%) | color: hwb(283 79% 9%) | |
| OKLCH | oklch(0.8636 0.0484 316.18) | color: oklch(0.8636 0.0484 316.18) | |
| Lab | lab(83.59 13.21 -12.49) | color: lab(83.59 13.21 -12.49) | |
| LCH | lch(83.59 18.18 316.6) | color: lch(83.59 18.18 316.6) |
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)
#D5D5E0 — rgb(213, 213, 224)
Deuteranopia (Green-blind)
#D7D8DF — rgb(215, 216, 223)
Tritanopia (Blue-blind)
#DEDBD9 — rgb(222, 219, 217)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(282, 40%, 85%);
text
color: hsl(282, 40%, 85%);
border
border: 2px solid hsl(282, 40%, 85%);
gradient light
background: linear-gradient(to right, hsl(282, 40%, 100%), hsl(282, 40%, 85%));
gradient dark
background: linear-gradient(to right, hsl(282, 40%, 85%), hsl(282, 40%, 65%))
hex
background-color: #DFC9E8;
tailwind
bg-[hsl(282,40%,85%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(282, 40%, 85%, 0.4);
css variable
--color-primary: hsl(282, 40%, 85%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(282, 40%, 85%)?
HEX: #DFC9E8 | RGB: rgb(223, 201, 232) | CMYK: 4%, 13%, 0%, 9% | HSV: 283°, 13%, 91%. Copy any format from the conversion table above.
What colors go well with #DFC9E8?
The complementary color is HSL(102, 40%, 85%). For a triadic harmony, use hues 282°, 42°, and 162°. For analogous combinations, try hues 252° and 312°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(282, 40%, 85%) in CSS?
As HSL: color: hsl(282, 40%, 85%); — As HEX: color: #DFC9E8; — As RGB: color: rgb(223, 201, 232); — Tailwind CSS: bg-[hsl(282,40%,85%)] — CSS variable: --color-primary: hsl(282, 40%, 85%);