HSL(260, 21%, 81%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(260,21%,81%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(260, 21%, 81%) | color: hsl(260, 21%, 81%) | |
| HEX | #CBC4D9 | color: #CBC4D9 | |
| RGB | rgb(203, 196, 217) | color: rgb(203, 196, 217) | |
| CMYK | cmyk(6%, 10%, 0%, 15%) | — | |
| HSV | hsv(260, 10%, 85%) | — | |
| HWB | hwb(260 77% 15%) | color: hwb(260 77% 15%) | |
| OKLCH | oklch(0.8324 0.0299 300.91) | color: oklch(0.8324 0.0299 300.91) | |
| Lab | lab(80.28 6.36 -9.57) | color: lab(80.28 6.36 -9.57) | |
| LCH | lch(80.28 11.49 303.61) | color: lch(80.28 11.49 303.61) |
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)
#C8C8D4 — rgb(200, 200, 212)
Deuteranopia (Green-blind)
#C8C9D3 — rgb(200, 201, 211)
Tritanopia (Blue-blind)
#CBD0CF — rgb(203, 208, 207)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(260, 21%, 81%);
text
color: hsl(260, 21%, 81%);
border
border: 2px solid hsl(260, 21%, 81%);
gradient light
background: linear-gradient(to right, hsl(260, 21%, 100%), hsl(260, 21%, 81%));
gradient dark
background: linear-gradient(to right, hsl(260, 21%, 81%), hsl(260, 21%, 61%))
hex
background-color: #CBC4D9;
tailwind
bg-[hsl(260,21%,81%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(260, 21%, 81%, 0.4);
css variable
--color-primary: hsl(260, 21%, 81%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(260, 21%, 81%)?
HEX: #CBC4D9 | RGB: rgb(203, 196, 217) | CMYK: 6%, 10%, 0%, 15% | HSV: 260°, 10%, 85%. Copy any format from the conversion table above.
What colors go well with #CBC4D9?
The complementary color is HSL(80, 21%, 81%). For a triadic harmony, use hues 260°, 20°, and 140°. For analogous combinations, try hues 230° and 290°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(260, 21%, 81%) in CSS?
As HSL: color: hsl(260, 21%, 81%); — As HEX: color: #CBC4D9; — As RGB: color: rgb(203, 196, 217); — Tailwind CSS: bg-[hsl(260,21%,81%)] — CSS variable: --color-primary: hsl(260, 21%, 81%);