HSL(266, 82%, 81%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(266,82%,81%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(266, 82%, 81%) | color: hsl(266, 82%, 81%) | |
| HEX | #C9A7F6 | color: #C9A7F6 | |
| RGB | rgb(201, 167, 246) | color: rgb(201, 167, 246) | |
| CMYK | cmyk(18%, 32%, 0%, 4%) | — | |
| HSV | hsv(266, 32%, 96%) | — | |
| HWB | hwb(266 65% 4%) | color: hwb(266 65% 4%) | |
| OKLCH | oklch(0.7867 0.1152 303.61) | color: oklch(0.7867 0.1152 303.61) | |
| Lab | lab(74 27.54 -34.79) | color: lab(74 27.54 -34.79) | |
| LCH | lch(74 44.37 308.37) | color: lch(74 44.37 308.37) |
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)
#BABAE3 — rgb(186, 186, 227)
Deuteranopia (Green-blind)
#BCBFDE — rgb(188, 191, 222)
Tritanopia (Blue-blind)
#C7D4D0 — rgb(199, 212, 208)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(266, 82%, 81%);
text
color: hsl(266, 82%, 81%);
border
border: 2px solid hsl(266, 82%, 81%);
gradient light
background: linear-gradient(to right, hsl(266, 82%, 100%), hsl(266, 82%, 81%));
gradient dark
background: linear-gradient(to right, hsl(266, 82%, 81%), hsl(266, 82%, 61%))
hex
background-color: #C9A7F6;
tailwind
bg-[hsl(266,82%,81%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(266, 82%, 81%, 0.4);
css variable
--color-primary: hsl(266, 82%, 81%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(266, 82%, 81%)?
HEX: #C9A7F6 | RGB: rgb(201, 167, 246) | CMYK: 18%, 32%, 0%, 4% | HSV: 266°, 32%, 96%. Copy any format from the conversion table above.
What colors go well with #C9A7F6?
The complementary color is HSL(86, 82%, 81%). For a triadic harmony, use hues 266°, 26°, and 146°. For analogous combinations, try hues 236° and 296°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(266, 82%, 81%) in CSS?
As HSL: color: hsl(266, 82%, 81%); — As HEX: color: #C9A7F6; — As RGB: color: rgb(201, 167, 246); — Tailwind CSS: bg-[hsl(266,82%,81%)] — CSS variable: --color-primary: hsl(266, 82%, 81%);