HSL(258, 53%, 82%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(258,53%,82%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(258, 53%, 82%) | color: hsl(258, 53%, 82%) | |
| HEX | #C7B9E9 | color: #C7B9E9 | |
| RGB | rgb(199, 185, 233) | color: rgb(199, 185, 233) | |
| CMYK | cmyk(15%, 21%, 0%, 9%) | — | |
| HSV | hsv(258, 21%, 91%) | — | |
| HWB | hwb(258 72% 9%) | color: hwb(258 72% 9%) | |
| OKLCH | oklch(0.8133 0.0683 298.23) | color: oklch(0.8133 0.0683 298.23) | |
| Lab | lab(77.71 14.26 -22.09) | color: lab(77.71 14.26 -22.09) | |
| LCH | lch(77.71 26.29 302.84) | color: lch(77.71 26.29 302.84) |
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)
#C1C1DD — rgb(193, 193, 221)
Deuteranopia (Green-blind)
#C2C3DB — rgb(194, 195, 219)
Tritanopia (Blue-blind)
#C6D4D2 — rgb(198, 212, 210)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(258, 53%, 82%);
text
color: hsl(258, 53%, 82%);
border
border: 2px solid hsl(258, 53%, 82%);
gradient light
background: linear-gradient(to right, hsl(258, 53%, 100%), hsl(258, 53%, 82%));
gradient dark
background: linear-gradient(to right, hsl(258, 53%, 82%), hsl(258, 53%, 62%))
hex
background-color: #C7B9E9;
tailwind
bg-[hsl(258,53%,82%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(258, 53%, 82%, 0.4);
css variable
--color-primary: hsl(258, 53%, 82%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(258, 53%, 82%)?
HEX: #C7B9E9 | RGB: rgb(199, 185, 233) | CMYK: 15%, 21%, 0%, 9% | HSV: 258°, 21%, 91%. Copy any format from the conversion table above.
What colors go well with #C7B9E9?
The complementary color is HSL(78, 53%, 82%). 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, 53%, 82%) in CSS?
As HSL: color: hsl(258, 53%, 82%); — As HEX: color: #C7B9E9; — As RGB: color: rgb(199, 185, 233); — Tailwind CSS: bg-[hsl(258,53%,82%)] — CSS variable: --color-primary: hsl(258, 53%, 82%);