HSL(267, 20%, 55%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(267,20%,55%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(267, 20%, 55%) | color: hsl(267, 20%, 55%) | |
| HEX | #8A75A3 | color: #8A75A3 | |
| RGB | rgb(138, 117, 163) | color: rgb(138, 117, 163) | |
| CMYK | cmyk(15%, 28%, 0%, 36%) | — | |
| HSV | hsv(267, 28%, 64%) | — | |
| HWB | hwb(267 46% 36%) | color: hwb(267 46% 36%) | |
| OKLCH | oklch(0.599 0.0725 305.16) | color: oklch(0.599 0.0725 305.16) | |
| Lab | lab(52.7 17.5 -21.64) | color: lab(52.7 17.5 -21.64) | |
| LCH | lch(52.7 27.83 308.96) | color: lch(52.7 27.83 308.96) |
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)
#818198 — rgb(129, 129, 152)
Deuteranopia (Green-blind)
#828495 — rgb(130, 132, 149)
Tritanopia (Blue-blind)
#898F8D — rgb(137, 143, 141)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(267, 20%, 55%);
text
color: hsl(267, 20%, 55%);
border
border: 2px solid hsl(267, 20%, 55%);
gradient light
background: linear-gradient(to right, hsl(267, 20%, 75%), hsl(267, 20%, 55%));
gradient dark
background: linear-gradient(to right, hsl(267, 20%, 55%), hsl(267, 20%, 35%))
hex
background-color: #8A75A3;
tailwind
bg-[hsl(267,20%,55%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(267, 20%, 55%, 0.4);
css variable
--color-primary: hsl(267, 20%, 55%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(267, 20%, 55%)?
HEX: #8A75A3 | RGB: rgb(138, 117, 163) | CMYK: 15%, 28%, 0%, 36% | HSV: 267°, 28%, 64%. Copy any format from the conversion table above.
What colors go well with #8A75A3?
The complementary color is HSL(87, 20%, 55%). 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%, 55%) in CSS?
As HSL: color: hsl(267, 20%, 55%); — As HEX: color: #8A75A3; — As RGB: color: rgb(138, 117, 163); — Tailwind CSS: bg-[hsl(267,20%,55%)] — CSS variable: --color-primary: hsl(267, 20%, 55%);