HSL(277, 34%, 56%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(277,34%,56%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(277, 34%, 56%) | color: hsl(277, 34%, 56%) | |
| HEX | #9869B5 | color: #9869B5 | |
| RGB | rgb(152, 105, 181) | color: rgb(152, 105, 181) | |
| CMYK | cmyk(16%, 42%, 0%, 29%) | — | |
| HSV | hsv(277, 42%, 71%) | — | |
| HWB | hwb(277 41% 29%) | color: hwb(277 41% 29%) | |
| OKLCH | oklch(0.5993 0.1226 311.59) | color: oklch(0.5993 0.1226 311.59) | |
| Lab | lab(51.97 33.02 -33.11) | color: lab(51.97 33.02 -33.11) | |
| LCH | lch(51.97 46.76 314.92) | color: lch(51.97 46.76 314.92) |
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)
#8483A3 — rgb(132, 131, 163)
Deuteranopia (Green-blind)
#868A9E — rgb(134, 138, 158)
Tritanopia (Blue-blind)
#969491 — rgb(150, 148, 145)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(277, 34%, 56%);
text
color: hsl(277, 34%, 56%);
border
border: 2px solid hsl(277, 34%, 56%);
gradient light
background: linear-gradient(to right, hsl(277, 34%, 76%), hsl(277, 34%, 56%));
gradient dark
background: linear-gradient(to right, hsl(277, 34%, 56%), hsl(277, 34%, 36%))
hex
background-color: #9869B5;
tailwind
bg-[hsl(277,34%,56%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(277, 34%, 56%, 0.4);
css variable
--color-primary: hsl(277, 34%, 56%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(277, 34%, 56%)?
HEX: #9869B5 | RGB: rgb(152, 105, 181) | CMYK: 16%, 42%, 0%, 29% | HSV: 277°, 42%, 71%. Copy any format from the conversion table above.
What colors go well with #9869B5?
The complementary color is HSL(97, 34%, 56%). For a triadic harmony, use hues 277°, 37°, and 157°. For analogous combinations, try hues 247° and 307°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(277, 34%, 56%) in CSS?
As HSL: color: hsl(277, 34%, 56%); — As HEX: color: #9869B5; — As RGB: color: rgb(152, 105, 181); — Tailwind CSS: bg-[hsl(277,34%,56%)] — CSS variable: --color-primary: hsl(277, 34%, 56%);