HSL(278, 60%, 77%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(278,60%,77%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(278, 60%, 77%) | color: hsl(278, 60%, 77%) | |
| HEX | #CEA1E8 | color: #CEA1E8 | |
| RGB | rgb(206, 161, 232) | color: rgb(206, 161, 232) | |
| CMYK | cmyk(11%, 31%, 0%, 9%) | — | |
| HSV | hsv(278, 31%, 91%) | — | |
| HWB | hwb(278 63% 9%) | color: hwb(278 63% 9%) | |
| OKLCH | oklch(0.7747 0.1097 312.74) | color: oklch(0.7747 0.1097 312.74) | |
| Lab | lab(72.52 29.37 -29.43) | color: lab(72.52 29.37 -29.43) | |
| LCH | lch(72.52 41.58 314.94) | color: lch(72.52 41.58 314.94) |
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)
#BBBAD7 — rgb(187, 186, 215)
Deuteranopia (Green-blind)
#BDC1D3 — rgb(189, 193, 211)
Tritanopia (Blue-blind)
#CCC9C6 — rgb(204, 201, 198)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(278, 60%, 77%);
text
color: hsl(278, 60%, 77%);
border
border: 2px solid hsl(278, 60%, 77%);
gradient light
background: linear-gradient(to right, hsl(278, 60%, 97%), hsl(278, 60%, 77%));
gradient dark
background: linear-gradient(to right, hsl(278, 60%, 77%), hsl(278, 60%, 57%))
hex
background-color: #CEA1E8;
tailwind
bg-[hsl(278,60%,77%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(278, 60%, 77%, 0.4);
css variable
--color-primary: hsl(278, 60%, 77%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(278, 60%, 77%)?
HEX: #CEA1E8 | RGB: rgb(206, 161, 232) | CMYK: 11%, 31%, 0%, 9% | HSV: 278°, 31%, 91%. Copy any format from the conversion table above.
What colors go well with #CEA1E8?
The complementary color is HSL(98, 60%, 77%). For a triadic harmony, use hues 278°, 38°, and 158°. For analogous combinations, try hues 248° and 308°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(278, 60%, 77%) in CSS?
As HSL: color: hsl(278, 60%, 77%); — As HEX: color: #CEA1E8; — As RGB: color: rgb(206, 161, 232); — Tailwind CSS: bg-[hsl(278,60%,77%)] — CSS variable: --color-primary: hsl(278, 60%, 77%);