HSL(276, 20%, 60%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(276,20%,60%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(276, 20%, 60%) | color: hsl(276, 20%, 60%) | |
| HEX | #9D85AD | color: #9D85AD | |
| RGB | rgb(157, 133, 173) | color: rgb(157, 133, 173) | |
| CMYK | cmyk(9%, 23%, 0%, 32%) | — | |
| HSV | hsv(276, 23%, 68%) | — | |
| HWB | hwb(276 52% 32%) | color: hwb(276 52% 32%) | |
| OKLCH | oklch(0.6525 0.0643 311.63) | color: oklch(0.6525 0.0643 311.63) | |
| Lab | lab(58.94 16.79 -17.71) | color: lab(58.94 16.79 -17.71) | |
| LCH | lch(58.94 24.4 313.47) | color: lch(58.94 24.4 313.47) |
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)
#9392A3 — rgb(147, 146, 163)
Deuteranopia (Green-blind)
#9496A1 — rgb(148, 150, 161)
Tritanopia (Blue-blind)
#9C9C9A — rgb(156, 156, 154)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(276, 20%, 60%);
text
color: hsl(276, 20%, 60%);
border
border: 2px solid hsl(276, 20%, 60%);
gradient light
background: linear-gradient(to right, hsl(276, 20%, 80%), hsl(276, 20%, 60%));
gradient dark
background: linear-gradient(to right, hsl(276, 20%, 60%), hsl(276, 20%, 40%))
hex
background-color: #9D85AD;
tailwind
bg-[hsl(276,20%,60%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(276, 20%, 60%, 0.4);
css variable
--color-primary: hsl(276, 20%, 60%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(276, 20%, 60%)?
HEX: #9D85AD | RGB: rgb(157, 133, 173) | CMYK: 9%, 23%, 0%, 32% | HSV: 276°, 23%, 68%. Copy any format from the conversion table above.
What colors go well with #9D85AD?
The complementary color is HSL(96, 20%, 60%). 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, 20%, 60%) in CSS?
As HSL: color: hsl(276, 20%, 60%); — As HEX: color: #9D85AD; — As RGB: color: rgb(157, 133, 173); — Tailwind CSS: bg-[hsl(276,20%,60%)] — CSS variable: --color-primary: hsl(276, 20%, 60%);