HSL(271, 19%, 82%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
N/A
CSS Class
bg-[hsl(271,19%,82%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(271, 19%, 82%) | color: hsl(271, 19%, 82%) | |
| HEX | #D1C8DA | color: #D1C8DA | |
| RGB | rgb(209, 200, 218) | color: rgb(209, 200, 218) | |
| CMYK | cmyk(4%, 8%, 0%, 15%) | — | |
| HSV | hsv(270, 8%, 85%) | — | |
| HWB | hwb(270 78% 15%) | color: hwb(270 78% 15%) | |
| OKLCH | oklch(0.8455 0.0265 308.11) | color: oklch(0.8455 0.0265 308.11) | |
| Lab | lab(81.8 6.42 -7.81) | color: lab(81.8 6.42 -7.81) | |
| LCH | lch(81.8 10.11 309.42) | color: lch(81.8 10.11 309.42) |
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)
#CDCDD6 — rgb(205, 205, 214)
Deuteranopia (Green-blind)
#CECED5 — rgb(206, 206, 213)
Tritanopia (Blue-blind)
#D1D2D1 — rgb(209, 210, 209)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(271, 19%, 82%);
text
color: hsl(271, 19%, 82%);
border
border: 2px solid hsl(271, 19%, 82%);
gradient light
background: linear-gradient(to right, hsl(271, 19%, 100%), hsl(271, 19%, 82%));
gradient dark
background: linear-gradient(to right, hsl(271, 19%, 82%), hsl(271, 19%, 62%))
hex
background-color: #D1C8DA;
tailwind
bg-[hsl(271,19%,82%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(271, 19%, 82%, 0.4);
css variable
--color-primary: hsl(271, 19%, 82%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(271, 19%, 82%)?
HEX: #D1C8DA | RGB: rgb(209, 200, 218) | CMYK: 4%, 8%, 0%, 15% | HSV: 270°, 8%, 85%. Copy any format from the conversion table above.
What colors go well with #D1C8DA?
The complementary color is HSL(91, 19%, 82%). For a triadic harmony, use hues 271°, 31°, and 151°. For analogous combinations, try hues 241° and 301°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(271, 19%, 82%) in CSS?
As HSL: color: hsl(271, 19%, 82%); — As HEX: color: #D1C8DA; — As RGB: color: rgb(209, 200, 218); — Tailwind CSS: bg-[hsl(271,19%,82%)] — CSS variable: --color-primary: hsl(271, 19%, 82%);