HSL(282, 31%, 82%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(282,31%,82%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(282, 31%, 82%) | color: hsl(282, 31%, 82%) | |
| HEX | #D7C3DF | color: #D7C3DF | |
| RGB | rgb(215, 195, 223) | color: rgb(215, 195, 223) | |
| CMYK | cmyk(4%, 13%, 0%, 13%) | — | |
| HSV | hsv(283, 13%, 87%) | — | |
| HWB | hwb(283 76% 13%) | color: hwb(283 76% 13%) | |
| OKLCH | oklch(0.8424 0.044 316.37) | color: oklch(0.8424 0.044 316.37) | |
| Lab | lab(81.18 12.05 -11.35) | color: lab(81.18 12.05 -11.35) | |
| LCH | lch(81.18 16.55 316.71) | color: lch(81.18 16.55 316.71) |
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)
#CECED8 — rgb(206, 206, 216)
Deuteranopia (Green-blind)
#D0D1D7 — rgb(208, 209, 215)
Tritanopia (Blue-blind)
#D6D3D2 — rgb(214, 211, 210)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(282, 31%, 82%);
text
color: hsl(282, 31%, 82%);
border
border: 2px solid hsl(282, 31%, 82%);
gradient light
background: linear-gradient(to right, hsl(282, 31%, 100%), hsl(282, 31%, 82%));
gradient dark
background: linear-gradient(to right, hsl(282, 31%, 82%), hsl(282, 31%, 62%))
hex
background-color: #D7C3DF;
tailwind
bg-[hsl(282,31%,82%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(282, 31%, 82%, 0.4);
css variable
--color-primary: hsl(282, 31%, 82%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(282, 31%, 82%)?
HEX: #D7C3DF | RGB: rgb(215, 195, 223) | CMYK: 4%, 13%, 0%, 13% | HSV: 283°, 13%, 87%. Copy any format from the conversion table above.
What colors go well with #D7C3DF?
The complementary color is HSL(102, 31%, 82%). 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, 31%, 82%) in CSS?
As HSL: color: hsl(282, 31%, 82%); — As HEX: color: #D7C3DF; — As RGB: color: rgb(215, 195, 223); — Tailwind CSS: bg-[hsl(282,31%,82%)] — CSS variable: --color-primary: hsl(282, 31%, 82%);