HSL(267, 20%, 60%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(267,20%,60%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(267, 20%, 60%) | color: hsl(267, 20%, 60%) | |
| HEX | #9785AD | color: #9785AD | |
| RGB | rgb(151, 133, 173) | color: rgb(151, 133, 173) | |
| CMYK | cmyk(13%, 23%, 0%, 32%) | — | |
| HSV | hsv(267, 23%, 68%) | — | |
| HWB | hwb(267 52% 32%) | color: hwb(267 52% 32%) | |
| OKLCH | oklch(0.647 0.062 305.2) | color: oklch(0.647 0.062 305.2) | |
| Lab | lab(58.39 14.77 -18.6) | color: lab(58.39 14.77 -18.6) | |
| LCH | lch(58.39 23.75 308.45) | color: lch(58.39 23.75 308.45) |
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)
#8F8FA3 — rgb(143, 143, 163)
Deuteranopia (Green-blind)
#9092A1 — rgb(144, 146, 161)
Tritanopia (Blue-blind)
#969C9A — rgb(150, 156, 154)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(267, 20%, 60%);
text
color: hsl(267, 20%, 60%);
border
border: 2px solid hsl(267, 20%, 60%);
gradient light
background: linear-gradient(to right, hsl(267, 20%, 80%), hsl(267, 20%, 60%));
gradient dark
background: linear-gradient(to right, hsl(267, 20%, 60%), hsl(267, 20%, 40%))
hex
background-color: #9785AD;
tailwind
bg-[hsl(267,20%,60%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(267, 20%, 60%, 0.4);
css variable
--color-primary: hsl(267, 20%, 60%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(267, 20%, 60%)?
HEX: #9785AD | RGB: rgb(151, 133, 173) | CMYK: 13%, 23%, 0%, 32% | HSV: 267°, 23%, 68%. Copy any format from the conversion table above.
What colors go well with #9785AD?
The complementary color is HSL(87, 20%, 60%). For a triadic harmony, use hues 267°, 27°, and 147°. For analogous combinations, try hues 237° and 297°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(267, 20%, 60%) in CSS?
As HSL: color: hsl(267, 20%, 60%); — As HEX: color: #9785AD; — As RGB: color: rgb(151, 133, 173); — Tailwind CSS: bg-[hsl(267,20%,60%)] — CSS variable: --color-primary: hsl(267, 20%, 60%);