HSL(266, 28%, 83%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(266,28%,83%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(266, 28%, 83%) | color: hsl(266, 28%, 83%) | |
| HEX | #D2C8E0 | color: #D2C8E0 | |
| RGB | rgb(210, 200, 224) | color: rgb(210, 200, 224) | |
| CMYK | cmyk(6%, 11%, 0%, 12%) | — | |
| HSV | hsv(265, 11%, 88%) | — | |
| HWB | hwb(265 78% 12%) | color: hwb(265 78% 12%) | |
| OKLCH | oklch(0.8482 0.0346 304.48) | color: oklch(0.8482 0.0346 304.48) | |
| Lab | lab(82.05 7.91 -10.64) | color: lab(82.05 7.91 -10.64) | |
| LCH | lch(82.05 13.26 306.63) | color: lch(82.05 13.26 306.63) |
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)
#CECEDA — rgb(206, 206, 218)
Deuteranopia (Green-blind)
#CECFD9 — rgb(206, 207, 217)
Tritanopia (Blue-blind)
#D2D6D5 — rgb(210, 214, 213)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(266, 28%, 83%);
text
color: hsl(266, 28%, 83%);
border
border: 2px solid hsl(266, 28%, 83%);
gradient light
background: linear-gradient(to right, hsl(266, 28%, 100%), hsl(266, 28%, 83%));
gradient dark
background: linear-gradient(to right, hsl(266, 28%, 83%), hsl(266, 28%, 63%))
hex
background-color: #D2C8E0;
tailwind
bg-[hsl(266,28%,83%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(266, 28%, 83%, 0.4);
css variable
--color-primary: hsl(266, 28%, 83%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(266, 28%, 83%)?
HEX: #D2C8E0 | RGB: rgb(210, 200, 224) | CMYK: 6%, 11%, 0%, 12% | HSV: 265°, 11%, 88%. Copy any format from the conversion table above.
What colors go well with #D2C8E0?
The complementary color is HSL(86, 28%, 83%). For a triadic harmony, use hues 266°, 26°, and 146°. For analogous combinations, try hues 236° and 296°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(266, 28%, 83%) in CSS?
As HSL: color: hsl(266, 28%, 83%); — As HEX: color: #D2C8E0; — As RGB: color: rgb(210, 200, 224); — Tailwind CSS: bg-[hsl(266,28%,83%)] — CSS variable: --color-primary: hsl(266, 28%, 83%);