HSL(266, 82%, 80%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(266,82%,80%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(266, 82%, 80%) | color: hsl(266, 82%, 80%) | |
| HEX | #C6A2F6 | color: #C6A2F6 | |
| RGB | rgb(198, 162, 246) | color: rgb(198, 162, 246) | |
| CMYK | cmyk(20%, 34%, 0%, 4%) | — | |
| HSV | hsv(266, 34%, 96%) | — | |
| HWB | hwb(266 63% 4%) | color: hwb(266 63% 4%) | |
| OKLCH | oklch(0.7751 0.1226 303.35) | color: oklch(0.7751 0.1226 303.35) | |
| Lab | lab(72.56 29.4 -37.05) | color: lab(72.56 29.4 -37.05) | |
| LCH | lch(72.56 47.3 308.43) | color: lch(72.56 47.3 308.43) |
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)
#B6B6E2 — rgb(182, 182, 226)
Deuteranopia (Green-blind)
#B9BBDD — rgb(185, 187, 221)
Tritanopia (Blue-blind)
#C4D2CE — rgb(196, 210, 206)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(266, 82%, 80%);
text
color: hsl(266, 82%, 80%);
border
border: 2px solid hsl(266, 82%, 80%);
gradient light
background: linear-gradient(to right, hsl(266, 82%, 100%), hsl(266, 82%, 80%));
gradient dark
background: linear-gradient(to right, hsl(266, 82%, 80%), hsl(266, 82%, 60%))
hex
background-color: #C6A2F6;
tailwind
bg-[hsl(266,82%,80%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(266, 82%, 80%, 0.4);
css variable
--color-primary: hsl(266, 82%, 80%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(266, 82%, 80%)?
HEX: #C6A2F6 | RGB: rgb(198, 162, 246) | CMYK: 20%, 34%, 0%, 4% | HSV: 266°, 34%, 96%. Copy any format from the conversion table above.
What colors go well with #C6A2F6?
The complementary color is HSL(86, 82%, 80%). 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%, 80%) in CSS?
As HSL: color: hsl(266, 82%, 80%); — As HEX: color: #C6A2F6; — As RGB: color: rgb(198, 162, 246); — Tailwind CSS: bg-[hsl(266,82%,80%)] — CSS variable: --color-primary: hsl(266, 82%, 80%);