HSL(267, 31%, 62%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(267,31%,62%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(267, 31%, 62%) | color: hsl(267, 31%, 62%) | |
| HEX | #9B80BC | color: #9B80BC | |
| RGB | rgb(155, 128, 188) | color: rgb(155, 128, 188) | |
| CMYK | cmyk(18%, 32%, 0%, 26%) | — | |
| HSV | hsv(267, 32%, 74%) | — | |
| HWB | hwb(267 50% 26%) | color: hwb(267 50% 26%) | |
| OKLCH | oklch(0.6473 0.0923 304.57) | color: oklch(0.6473 0.0923 304.57) | |
| Lab | lab(58.07 22.33 -27.61) | color: lab(58.07 22.33 -27.61) | |
| LCH | lch(58.07 35.51 308.96) | color: lch(58.07 35.51 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)
#8F8FAD — rgb(143, 143, 173)
Deuteranopia (Green-blind)
#9193AA — rgb(145, 147, 170)
Tritanopia (Blue-blind)
#9AA2A0 — rgb(154, 162, 160)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(267, 31%, 62%);
text
color: hsl(267, 31%, 62%);
border
border: 2px solid hsl(267, 31%, 62%);
gradient light
background: linear-gradient(to right, hsl(267, 31%, 82%), hsl(267, 31%, 62%));
gradient dark
background: linear-gradient(to right, hsl(267, 31%, 62%), hsl(267, 31%, 42%))
hex
background-color: #9B80BC;
tailwind
bg-[hsl(267,31%,62%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(267, 31%, 62%, 0.4);
css variable
--color-primary: hsl(267, 31%, 62%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(267, 31%, 62%)?
HEX: #9B80BC | RGB: rgb(155, 128, 188) | CMYK: 18%, 32%, 0%, 26% | HSV: 267°, 32%, 74%. Copy any format from the conversion table above.
What colors go well with #9B80BC?
The complementary color is HSL(87, 31%, 62%). 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, 31%, 62%) in CSS?
As HSL: color: hsl(267, 31%, 62%); — As HEX: color: #9B80BC; — As RGB: color: rgb(155, 128, 188); — Tailwind CSS: bg-[hsl(267,31%,62%)] — CSS variable: --color-primary: hsl(267, 31%, 62%);