HSL(267, 91%, 81%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(267,91%,81%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(267, 91%, 81%) | color: hsl(267, 91%, 81%) | |
| HEX | #CAA2FB | color: #CAA2FB | |
| RGB | rgb(202, 162, 251) | color: rgb(202, 162, 251) | |
| CMYK | cmyk(20%, 35%, 0%, 2%) | — | |
| HSV | hsv(267, 35%, 98%) | — | |
| HWB | hwb(267 64% 2%) | color: hwb(267 64% 2%) | |
| OKLCH | oklch(0.7809 0.13 304.21) | color: oklch(0.7809 0.13 304.21) | |
| Lab | lab(73.13 31.68 -38.85) | color: lab(73.13 31.68 -38.85) | |
| LCH | lch(73.13 50.13 309.2) | color: lch(73.13 50.13 309.2) |
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)
#B9B8E5 — rgb(185, 184, 229)
Deuteranopia (Green-blind)
#BBBEE0 — rgb(187, 190, 224)
Tritanopia (Blue-blind)
#C8D4D1 — rgb(200, 212, 209)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(267, 91%, 81%);
text
color: hsl(267, 91%, 81%);
border
border: 2px solid hsl(267, 91%, 81%);
gradient light
background: linear-gradient(to right, hsl(267, 91%, 100%), hsl(267, 91%, 81%));
gradient dark
background: linear-gradient(to right, hsl(267, 91%, 81%), hsl(267, 91%, 61%))
hex
background-color: #CAA2FB;
tailwind
bg-[hsl(267,91%,81%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(267, 91%, 81%, 0.4);
css variable
--color-primary: hsl(267, 91%, 81%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(267, 91%, 81%)?
HEX: #CAA2FB | RGB: rgb(202, 162, 251) | CMYK: 20%, 35%, 0%, 2% | HSV: 267°, 35%, 98%. Copy any format from the conversion table above.
What colors go well with #CAA2FB?
The complementary color is HSL(87, 91%, 81%). For a triadic harmony, use hues 267°, 27°, and 147°. For analogous combinations, try hues 237° and 297°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(267, 91%, 81%) in CSS?
As HSL: color: hsl(267, 91%, 81%); — As HEX: color: #CAA2FB; — As RGB: color: rgb(202, 162, 251); — Tailwind CSS: bg-[hsl(267,91%,81%)] — CSS variable: --color-primary: hsl(267, 91%, 81%);