HSL(267, 20%, 81%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(267,20%,81%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(267, 20%, 81%) | color: hsl(267, 20%, 81%) | |
| HEX | #CEC5D8 | color: #CEC5D8 | |
| RGB | rgb(206, 197, 216) | color: rgb(206, 197, 216) | |
| CMYK | cmyk(5%, 9%, 0%, 15%) | — | |
| HSV | hsv(268, 9%, 85%) | — | |
| HWB | hwb(268 77% 15%) | color: hwb(268 77% 15%) | |
| OKLCH | oklch(0.8365 0.0279 307) | color: oklch(0.8365 0.0279 307) | |
| Lab | lab(80.75 6.63 -8.33) | color: lab(80.75 6.63 -8.33) | |
| LCH | lch(80.75 10.65 308.52) | color: lch(80.75 10.65 308.52) |
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)
#CACAD3 — rgb(202, 202, 211)
Deuteranopia (Green-blind)
#CBCBD2 — rgb(203, 203, 210)
Tritanopia (Blue-blind)
#CED0CF — rgb(206, 208, 207)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(267, 20%, 81%);
text
color: hsl(267, 20%, 81%);
border
border: 2px solid hsl(267, 20%, 81%);
gradient light
background: linear-gradient(to right, hsl(267, 20%, 100%), hsl(267, 20%, 81%));
gradient dark
background: linear-gradient(to right, hsl(267, 20%, 81%), hsl(267, 20%, 61%))
hex
background-color: #CEC5D8;
tailwind
bg-[hsl(267,20%,81%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(267, 20%, 81%, 0.4);
css variable
--color-primary: hsl(267, 20%, 81%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(267, 20%, 81%)?
HEX: #CEC5D8 | RGB: rgb(206, 197, 216) | CMYK: 5%, 9%, 0%, 15% | HSV: 268°, 9%, 85%. Copy any format from the conversion table above.
What colors go well with #CEC5D8?
The complementary color is HSL(87, 20%, 81%). For a triadic harmony, use hues 267°, 27°, and 147°. For analogous combinations, try hues 237° and 297°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(267, 20%, 81%) in CSS?
As HSL: color: hsl(267, 20%, 81%); — As HEX: color: #CEC5D8; — As RGB: color: rgb(206, 197, 216); — Tailwind CSS: bg-[hsl(267,20%,81%)] — CSS variable: --color-primary: hsl(267, 20%, 81%);