HSL(262, 14%, 56%)
Grayish Indigo — Indigo color
Adjust Color
Color Information
Color Name
Grayish Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
N/A
CSS Class
bg-[hsl(262,14%,56%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(262, 14%, 56%) | color: hsl(262, 14%, 56%) | |
| HEX | #8B7F9F | color: #8B7F9F | |
| RGB | rgb(139, 127, 159) | color: rgb(139, 127, 159) | |
| CMYK | cmyk(13%, 20%, 0%, 38%) | — | |
| HSV | hsv(263, 20%, 62%) | — | |
| HWB | hwb(263 50% 38%) | color: hwb(263 50% 38%) | |
| OKLCH | oklch(0.6184 0.0494 302.08) | color: oklch(0.6184 0.0494 302.08) | |
| Lab | lab(55.25 11.08 -15.42) | color: lab(55.25 11.08 -15.42) | |
| LCH | lch(55.25 18.99 305.7) | color: lch(55.25 18.99 305.7) |
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)
#868697 — rgb(134, 134, 151)
Deuteranopia (Green-blind)
#878795 — rgb(135, 135, 149)
Tritanopia (Blue-blind)
#8A9190 — rgb(138, 145, 144)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(262, 14%, 56%);
text
color: hsl(262, 14%, 56%);
border
border: 2px solid hsl(262, 14%, 56%);
gradient light
background: linear-gradient(to right, hsl(262, 14%, 76%), hsl(262, 14%, 56%));
gradient dark
background: linear-gradient(to right, hsl(262, 14%, 56%), hsl(262, 14%, 36%))
hex
background-color: #8B7F9F;
tailwind
bg-[hsl(262,14%,56%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(262, 14%, 56%, 0.4);
css variable
--color-primary: hsl(262, 14%, 56%);
Related Colors
Use Cases for Grayish Indigo
Frequently Asked Questions
What are all the color codes for HSL(262, 14%, 56%)?
HEX: #8B7F9F | RGB: rgb(139, 127, 159) | CMYK: 13%, 20%, 0%, 38% | HSV: 263°, 20%, 62%. Copy any format from the conversion table above.
What colors go well with #8B7F9F?
The complementary color is HSL(82, 14%, 56%). For a triadic harmony, use hues 262°, 22°, and 142°. For analogous combinations, try hues 232° and 292°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(262, 14%, 56%) in CSS?
As HSL: color: hsl(262, 14%, 56%); — As HEX: color: #8B7F9F; — As RGB: color: rgb(139, 127, 159); — Tailwind CSS: bg-[hsl(262,14%,56%)] — CSS variable: --color-primary: hsl(262, 14%, 56%);