HSL(266, 60%, 78%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(266,60%,78%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(266, 60%, 78%) | color: hsl(266, 60%, 78%) | |
| HEX | #C2A5E9 | color: #C2A5E9 | |
| RGB | rgb(194, 165, 233) | color: rgb(194, 165, 233) | |
| CMYK | cmyk(17%, 29%, 0%, 9%) | — | |
| HSV | hsv(266, 29%, 91%) | — | |
| HWB | hwb(266 65% 9%) | color: hwb(266 65% 9%) | |
| OKLCH | oklch(0.7713 0.0999 303.67) | color: oklch(0.7713 0.0999 303.67) | |
| Lab | lab(72.4 23.67 -30.25) | color: lab(72.4 23.67 -30.25) | |
| LCH | lch(72.4 38.41 308.04) | color: lch(72.4 38.41 308.04) |
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)
#B5B5D9 — rgb(181, 181, 217)
Deuteranopia (Green-blind)
#B7B9D5 — rgb(183, 185, 213)
Tritanopia (Blue-blind)
#C1CCC9 — rgb(193, 204, 201)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(266, 60%, 78%);
text
color: hsl(266, 60%, 78%);
border
border: 2px solid hsl(266, 60%, 78%);
gradient light
background: linear-gradient(to right, hsl(266, 60%, 98%), hsl(266, 60%, 78%));
gradient dark
background: linear-gradient(to right, hsl(266, 60%, 78%), hsl(266, 60%, 58%))
hex
background-color: #C2A5E9;
tailwind
bg-[hsl(266,60%,78%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(266, 60%, 78%, 0.4);
css variable
--color-primary: hsl(266, 60%, 78%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(266, 60%, 78%)?
HEX: #C2A5E9 | RGB: rgb(194, 165, 233) | CMYK: 17%, 29%, 0%, 9% | HSV: 266°, 29%, 91%. Copy any format from the conversion table above.
What colors go well with #C2A5E9?
The complementary color is HSL(86, 60%, 78%). For a triadic harmony, use hues 266°, 26°, and 146°. For analogous combinations, try hues 236° and 296°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(266, 60%, 78%) in CSS?
As HSL: color: hsl(266, 60%, 78%); — As HEX: color: #C2A5E9; — As RGB: color: rgb(194, 165, 233); — Tailwind CSS: bg-[hsl(266,60%,78%)] — CSS variable: --color-primary: hsl(266, 60%, 78%);