HSL(268, 45%, 80%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(268,45%,80%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(268, 45%, 80%) | color: hsl(268, 45%, 80%) | |
| HEX | #CAB5E3 | color: #CAB5E3 | |
| RGB | rgb(202, 181, 227) | color: rgb(202, 181, 227) | |
| CMYK | cmyk(11%, 20%, 0%, 11%) | — | |
| HSV | hsv(267, 20%, 89%) | — | |
| HWB | hwb(267 71% 11%) | color: hwb(267 71% 11%) | |
| OKLCH | oklch(0.8059 0.0676 305.64) | color: oklch(0.8059 0.0676 305.64) | |
| Lab | lab(76.77 16.14 -20.26) | color: lab(76.77 16.14 -20.26) | |
| LCH | lch(76.77 25.9 308.54) | color: lch(76.77 25.9 308.54) |
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)
#C1C1D8 — rgb(193, 193, 216)
Deuteranopia (Green-blind)
#C2C4D5 — rgb(194, 196, 213)
Tritanopia (Blue-blind)
#C9CFCD — rgb(201, 207, 205)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(268, 45%, 80%);
text
color: hsl(268, 45%, 80%);
border
border: 2px solid hsl(268, 45%, 80%);
gradient light
background: linear-gradient(to right, hsl(268, 45%, 100%), hsl(268, 45%, 80%));
gradient dark
background: linear-gradient(to right, hsl(268, 45%, 80%), hsl(268, 45%, 60%))
hex
background-color: #CAB5E3;
tailwind
bg-[hsl(268,45%,80%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(268, 45%, 80%, 0.4);
css variable
--color-primary: hsl(268, 45%, 80%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(268, 45%, 80%)?
HEX: #CAB5E3 | RGB: rgb(202, 181, 227) | CMYK: 11%, 20%, 0%, 11% | HSV: 267°, 20%, 89%. Copy any format from the conversion table above.
What colors go well with #CAB5E3?
The complementary color is HSL(88, 45%, 80%). For a triadic harmony, use hues 268°, 28°, and 148°. For analogous combinations, try hues 238° and 298°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(268, 45%, 80%) in CSS?
As HSL: color: hsl(268, 45%, 80%); — As HEX: color: #CAB5E3; — As RGB: color: rgb(202, 181, 227); — Tailwind CSS: bg-[hsl(268,45%,80%)] — CSS variable: --color-primary: hsl(268, 45%, 80%);