HSL(278, 67%, 66%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(278,67%,66%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(278, 67%, 66%) | color: hsl(278, 67%, 66%) | |
| HEX | #B86EE2 | color: #B86EE2 | |
| RGB | rgb(184, 110, 226) | color: rgb(184, 110, 226) | |
| CMYK | cmyk(19%, 51%, 0%, 11%) | — | |
| HSV | hsv(278, 51%, 89%) | — | |
| HWB | hwb(278 44% 11%) | color: hwb(278 44% 11%) | |
| OKLCH | oklch(0.6656 0.179 311.93) | color: oklch(0.6656 0.179 311.93) | |
| Lab | lab(58.82 49.26 -47.67) | color: lab(58.82 49.26 -47.67) | |
| LCH | lch(58.82 68.55 315.94) | color: lch(58.82 68.55 315.94) |
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)
#9897C6 — rgb(152, 151, 198)
Deuteranopia (Green-blind)
#9CA2BF — rgb(156, 162, 191)
Tritanopia (Blue-blind)
#B4B0AB — rgb(180, 176, 171)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(278, 67%, 66%);
text
color: hsl(278, 67%, 66%);
border
border: 2px solid hsl(278, 67%, 66%);
gradient light
background: linear-gradient(to right, hsl(278, 67%, 86%), hsl(278, 67%, 66%));
gradient dark
background: linear-gradient(to right, hsl(278, 67%, 66%), hsl(278, 67%, 46%))
hex
background-color: #B86EE2;
tailwind
bg-[hsl(278,67%,66%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(278, 67%, 66%, 0.4);
css variable
--color-primary: hsl(278, 67%, 66%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(278, 67%, 66%)?
HEX: #B86EE2 | RGB: rgb(184, 110, 226) | CMYK: 19%, 51%, 0%, 11% | HSV: 278°, 51%, 89%. Copy any format from the conversion table above.
What colors go well with #B86EE2?
The complementary color is HSL(98, 67%, 66%). For a triadic harmony, use hues 278°, 38°, and 158°. For analogous combinations, try hues 248° and 308°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(278, 67%, 66%) in CSS?
As HSL: color: hsl(278, 67%, 66%); — As HEX: color: #B86EE2; — As RGB: color: rgb(184, 110, 226); — Tailwind CSS: bg-[hsl(278,67%,66%)] — CSS variable: --color-primary: hsl(278, 67%, 66%);