HSL(266, 99%, 77%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(266,99%,77%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(266, 99%, 77%) | color: hsl(266, 99%, 77%) | |
| HEX | #BD8AFE | color: #BD8AFE | |
| RGB | rgb(189, 138, 254) | color: rgb(189, 138, 254) | |
| CMYK | cmyk(26%, 46%, 0%, 0%) | — | |
| HSV | hsv(266, 46%, 100%) | — | |
| HWB | hwb(266 54% 0%) | color: hwb(266 54% 0%) | |
| OKLCH | oklch(0.7295 0.169 302.73) | color: oklch(0.7295 0.169 302.73) | |
| Lab | lab(66.64 41.87 -50.76) | color: lab(66.64 41.87 -50.76) | |
| LCH | lch(66.64 65.8 309.52) | color: lch(66.64 65.8 309.52) |
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)
#A7A6E2 — rgb(167, 166, 226)
Deuteranopia (Green-blind)
#AAAEDB — rgb(170, 174, 219)
Tritanopia (Blue-blind)
#BACCC7 — rgb(186, 204, 199)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(266, 99%, 77%);
text
color: hsl(266, 99%, 77%);
border
border: 2px solid hsl(266, 99%, 77%);
gradient light
background: linear-gradient(to right, hsl(266, 99%, 97%), hsl(266, 99%, 77%));
gradient dark
background: linear-gradient(to right, hsl(266, 99%, 77%), hsl(266, 99%, 57%))
hex
background-color: #BD8AFE;
tailwind
bg-[hsl(266,99%,77%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(266, 99%, 77%, 0.4);
css variable
--color-primary: hsl(266, 99%, 77%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(266, 99%, 77%)?
HEX: #BD8AFE | RGB: rgb(189, 138, 254) | CMYK: 26%, 46%, 0%, 0% | HSV: 266°, 46%, 100%. Copy any format from the conversion table above.
What colors go well with #BD8AFE?
The complementary color is HSL(86, 99%, 77%). 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, 99%, 77%) in CSS?
As HSL: color: hsl(266, 99%, 77%); — As HEX: color: #BD8AFE; — As RGB: color: rgb(189, 138, 254); — Tailwind CSS: bg-[hsl(266,99%,77%)] — CSS variable: --color-primary: hsl(266, 99%, 77%);