HSL(276, 90%, 66%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(276,90%,66%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(276, 90%, 66%) | color: hsl(276, 90%, 66%) | |
| HEX | #B85AF6 | color: #B85AF6 | |
| RGB | rgb(184, 90, 246) | color: rgb(184, 90, 246) | |
| CMYK | cmyk(25%, 63%, 0%, 4%) | — | |
| HSV | hsv(276, 63%, 96%) | — | |
| HWB | hwb(276 36% 4%) | color: hwb(276 36% 4%) | |
| OKLCH | oklch(0.6504 0.2292 309.13) | color: oklch(0.6504 0.2292 309.13) | |
| Lab | lab(56.24 63.46 -62.94) | color: lab(56.24 63.46 -62.94) | |
| LCH | lch(56.24 89.38 315.24) | color: lch(56.24 89.38 315.24) |
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)
#8F8ED0 — rgb(143, 142, 208)
Deuteranopia (Green-blind)
#959CC7 — rgb(149, 156, 199)
Tritanopia (Blue-blind)
#B3B2AC — rgb(179, 178, 172)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(276, 90%, 66%);
text
color: hsl(276, 90%, 66%);
border
border: 2px solid hsl(276, 90%, 66%);
gradient light
background: linear-gradient(to right, hsl(276, 90%, 86%), hsl(276, 90%, 66%));
gradient dark
background: linear-gradient(to right, hsl(276, 90%, 66%), hsl(276, 90%, 46%))
hex
background-color: #B85AF6;
tailwind
bg-[hsl(276,90%,66%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(276, 90%, 66%, 0.4);
css variable
--color-primary: hsl(276, 90%, 66%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(276, 90%, 66%)?
HEX: #B85AF6 | RGB: rgb(184, 90, 246) | CMYK: 25%, 63%, 0%, 4% | HSV: 276°, 63%, 96%. Copy any format from the conversion table above.
What colors go well with #B85AF6?
The complementary color is HSL(96, 90%, 66%). For a triadic harmony, use hues 276°, 36°, and 156°. For analogous combinations, try hues 246° and 306°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(276, 90%, 66%) in CSS?
As HSL: color: hsl(276, 90%, 66%); — As HEX: color: #B85AF6; — As RGB: color: rgb(184, 90, 246); — Tailwind CSS: bg-[hsl(276,90%,66%)] — CSS variable: --color-primary: hsl(276, 90%, 66%);