HSL(258, 40%, 80%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(258,40%,80%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(258, 40%, 80%) | color: hsl(258, 40%, 80%) | |
| HEX | #C4B8E0 | color: #C4B8E0 | |
| RGB | rgb(196, 184, 224) | color: rgb(196, 184, 224) | |
| CMYK | cmyk(13%, 18%, 0%, 12%) | — | |
| HSV | hsv(258, 18%, 88%) | — | |
| HWB | hwb(258 72% 12%) | color: hwb(258 72% 12%) | |
| OKLCH | oklch(0.8056 0.0571 298.83) | color: oklch(0.8056 0.0571 298.83) | |
| Lab | lab(76.92 11.95 -18.45) | color: lab(76.92 11.95 -18.45) | |
| LCH | lch(76.92 21.98 302.93) | color: lch(76.92 21.98 302.93) |
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)
#BFBFD6 — rgb(191, 191, 214)
Deuteranopia (Green-blind)
#C0C0D4 — rgb(192, 192, 212)
Tritanopia (Blue-blind)
#C3CFCD — rgb(195, 207, 205)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(258, 40%, 80%);
text
color: hsl(258, 40%, 80%);
border
border: 2px solid hsl(258, 40%, 80%);
gradient light
background: linear-gradient(to right, hsl(258, 40%, 100%), hsl(258, 40%, 80%));
gradient dark
background: linear-gradient(to right, hsl(258, 40%, 80%), hsl(258, 40%, 60%))
hex
background-color: #C4B8E0;
tailwind
bg-[hsl(258,40%,80%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(258, 40%, 80%, 0.4);
css variable
--color-primary: hsl(258, 40%, 80%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(258, 40%, 80%)?
HEX: #C4B8E0 | RGB: rgb(196, 184, 224) | CMYK: 13%, 18%, 0%, 12% | HSV: 258°, 18%, 88%. Copy any format from the conversion table above.
What colors go well with #C4B8E0?
The complementary color is HSL(78, 40%, 80%). For a triadic harmony, use hues 258°, 18°, and 138°. For analogous combinations, try hues 228° and 288°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(258, 40%, 80%) in CSS?
As HSL: color: hsl(258, 40%, 80%); — As HEX: color: #C4B8E0; — As RGB: color: rgb(196, 184, 224); — Tailwind CSS: bg-[hsl(258,40%,80%)] — CSS variable: --color-primary: hsl(258, 40%, 80%);