HSL(267, 26%, 56%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(267,26%,56%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(267, 26%, 56%) | color: hsl(267, 26%, 56%) | |
| HEX | #8C72AC | color: #8C72AC | |
| RGB | rgb(140, 114, 172) | color: rgb(140, 114, 172) | |
| CMYK | cmyk(19%, 34%, 0%, 33%) | — | |
| HSV | hsv(267, 34%, 67%) | — | |
| HWB | hwb(267 44% 33%) | color: hwb(267 44% 33%) | |
| OKLCH | oklch(0.5992 0.0908 304.36) | color: oklch(0.5992 0.0908 304.36) | |
| Lab | lab(52.5 22 -27.16) | color: lab(52.5 22 -27.16) | |
| LCH | lch(52.5 34.95 309.01) | color: lch(52.5 34.95 309.01) |
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)
#81819E — rgb(129, 129, 158)
Deuteranopia (Green-blind)
#82849B — rgb(130, 132, 155)
Tritanopia (Blue-blind)
#8B9390 — rgb(139, 147, 144)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(267, 26%, 56%);
text
color: hsl(267, 26%, 56%);
border
border: 2px solid hsl(267, 26%, 56%);
gradient light
background: linear-gradient(to right, hsl(267, 26%, 76%), hsl(267, 26%, 56%));
gradient dark
background: linear-gradient(to right, hsl(267, 26%, 56%), hsl(267, 26%, 36%))
hex
background-color: #8C72AC;
tailwind
bg-[hsl(267,26%,56%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(267, 26%, 56%, 0.4);
css variable
--color-primary: hsl(267, 26%, 56%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(267, 26%, 56%)?
HEX: #8C72AC | RGB: rgb(140, 114, 172) | CMYK: 19%, 34%, 0%, 33% | HSV: 267°, 34%, 67%. Copy any format from the conversion table above.
What colors go well with #8C72AC?
The complementary color is HSL(87, 26%, 56%). 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, 26%, 56%) in CSS?
As HSL: color: hsl(267, 26%, 56%); — As HEX: color: #8C72AC; — As RGB: color: rgb(140, 114, 172); — Tailwind CSS: bg-[hsl(267,26%,56%)] — CSS variable: --color-primary: hsl(267, 26%, 56%);