HSL(257, 37%, 82%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(257,37%,82%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(257, 37%, 82%) | color: hsl(257, 37%, 82%) | |
| HEX | #CAC0E2 | color: #CAC0E2 | |
| RGB | rgb(202, 192, 226) | color: rgb(202, 192, 226) | |
| CMYK | cmyk(11%, 15%, 0%, 11%) | — | |
| HSV | hsv(258, 15%, 89%) | — | |
| HWB | hwb(258 76% 11%) | color: hwb(258 76% 11%) | |
| OKLCH | oklch(0.8268 0.0482 298.79) | color: oklch(0.8268 0.0482 298.79) | |
| Lab | lab(79.47 9.97 -15.64) | color: lab(79.47 9.97 -15.64) | |
| LCH | lch(79.47 18.55 302.52) | color: lch(79.47 18.55 302.52) |
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)
#C6C6DA — rgb(198, 198, 218)
Deuteranopia (Green-blind)
#C6C7D8 — rgb(198, 199, 216)
Tritanopia (Blue-blind)
#CAD3D2 — rgb(202, 211, 210)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(257, 37%, 82%);
text
color: hsl(257, 37%, 82%);
border
border: 2px solid hsl(257, 37%, 82%);
gradient light
background: linear-gradient(to right, hsl(257, 37%, 100%), hsl(257, 37%, 82%));
gradient dark
background: linear-gradient(to right, hsl(257, 37%, 82%), hsl(257, 37%, 62%))
hex
background-color: #CAC0E2;
tailwind
bg-[hsl(257,37%,82%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(257, 37%, 82%, 0.4);
css variable
--color-primary: hsl(257, 37%, 82%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(257, 37%, 82%)?
HEX: #CAC0E2 | RGB: rgb(202, 192, 226) | CMYK: 11%, 15%, 0%, 11% | HSV: 258°, 15%, 89%. Copy any format from the conversion table above.
What colors go well with #CAC0E2?
The complementary color is HSL(77, 37%, 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, 37%, 82%) in CSS?
As HSL: color: hsl(257, 37%, 82%); — As HEX: color: #CAC0E2; — As RGB: color: rgb(202, 192, 226); — Tailwind CSS: bg-[hsl(257,37%,82%)] — CSS variable: --color-primary: hsl(257, 37%, 82%);