HSL(257, 51%, 82%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(257,51%,82%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(257, 51%, 82%) | color: hsl(257, 51%, 82%) | |
| HEX | #C7BAE9 | color: #C7BAE9 | |
| RGB | rgb(199, 186, 233) | color: rgb(199, 186, 233) | |
| CMYK | cmyk(15%, 20%, 0%, 9%) | — | |
| HSV | hsv(257, 20%, 91%) | — | |
| HWB | hwb(257 73% 9%) | color: hwb(257 73% 9%) | |
| OKLCH | oklch(0.8152 0.0667 297.57) | color: oklch(0.8152 0.0667 297.57) | |
| Lab | lab(77.96 13.71 -21.72) | color: lab(77.96 13.71 -21.72) | |
| LCH | lch(77.96 25.69 302.26) | color: lch(77.96 25.69 302.26) |
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)
#C1C1DE — rgb(193, 193, 222)
Deuteranopia (Green-blind)
#C2C3DB — rgb(194, 195, 219)
Tritanopia (Blue-blind)
#C6D5D3 — rgb(198, 213, 211)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(257, 51%, 82%);
text
color: hsl(257, 51%, 82%);
border
border: 2px solid hsl(257, 51%, 82%);
gradient light
background: linear-gradient(to right, hsl(257, 51%, 100%), hsl(257, 51%, 82%));
gradient dark
background: linear-gradient(to right, hsl(257, 51%, 82%), hsl(257, 51%, 62%))
hex
background-color: #C7BAE9;
tailwind
bg-[hsl(257,51%,82%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(257, 51%, 82%, 0.4);
css variable
--color-primary: hsl(257, 51%, 82%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(257, 51%, 82%)?
HEX: #C7BAE9 | RGB: rgb(199, 186, 233) | CMYK: 15%, 20%, 0%, 9% | HSV: 257°, 20%, 91%. Copy any format from the conversion table above.
What colors go well with #C7BAE9?
The complementary color is HSL(77, 51%, 82%). For a triadic harmony, use hues 257°, 17°, and 137°. For analogous combinations, try hues 227° and 287°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(257, 51%, 82%) in CSS?
As HSL: color: hsl(257, 51%, 82%); — As HEX: color: #C7BAE9; — As RGB: color: rgb(199, 186, 233); — Tailwind CSS: bg-[hsl(257,51%,82%)] — CSS variable: --color-primary: hsl(257, 51%, 82%);