HSL(266, 85%, 71%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(266,85%,71%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(266, 85%, 71%) | color: hsl(266, 85%, 71%) | |
| HEX | #AD76F4 | color: #AD76F4 | |
| RGB | rgb(173, 118, 244) | color: rgb(173, 118, 244) | |
| CMYK | cmyk(29%, 52%, 0%, 4%) | — | |
| HSV | hsv(266, 52%, 96%) | — | |
| HWB | hwb(266 46% 4%) | color: hwb(266 46% 4%) | |
| OKLCH | oklch(0.6764 0.1842 301.85) | color: oklch(0.6764 0.1842 301.85) | |
| Lab | lab(60.22 46.26 -55.53) | color: lab(60.22 46.26 -55.53) | |
| LCH | lch(60.22 72.27 309.8) | color: lch(60.22 72.27 309.8) |
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)
#9595D6 — rgb(149, 149, 214)
Deuteranopia (Green-blind)
#989DCE — rgb(152, 157, 206)
Tritanopia (Blue-blind)
#AABDB8 — rgb(170, 189, 184)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(266, 85%, 71%);
text
color: hsl(266, 85%, 71%);
border
border: 2px solid hsl(266, 85%, 71%);
gradient light
background: linear-gradient(to right, hsl(266, 85%, 91%), hsl(266, 85%, 71%));
gradient dark
background: linear-gradient(to right, hsl(266, 85%, 71%), hsl(266, 85%, 51%))
hex
background-color: #AD76F4;
tailwind
bg-[hsl(266,85%,71%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(266, 85%, 71%, 0.4);
css variable
--color-primary: hsl(266, 85%, 71%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(266, 85%, 71%)?
HEX: #AD76F4 | RGB: rgb(173, 118, 244) | CMYK: 29%, 52%, 0%, 4% | HSV: 266°, 52%, 96%. Copy any format from the conversion table above.
What colors go well with #AD76F4?
The complementary color is HSL(86, 85%, 71%). 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, 85%, 71%) in CSS?
As HSL: color: hsl(266, 85%, 71%); — As HEX: color: #AD76F4; — As RGB: color: rgb(173, 118, 244); — Tailwind CSS: bg-[hsl(266,85%,71%)] — CSS variable: --color-primary: hsl(266, 85%, 71%);