HSL(312, 10%, 58%)
Grayish Purple — Purple color
Adjust Color
Color Information
Color Name
Grayish Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
N/A
CSS Class
bg-[hsl(312,10%,58%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(312, 10%, 58%) | color: hsl(312, 10%, 58%) | |
| HEX | #9F899A | color: #9F899A | |
| RGB | rgb(159, 137, 154) | color: rgb(159, 137, 154) | |
| CMYK | cmyk(0%, 14%, 3%, 38%) | — | |
| HSV | hsv(314, 14%, 62%) | — | |
| HWB | hwb(314 53% 38%) | color: hwb(314 53% 38%) | |
| OKLCH | oklch(0.6554 0.0358 333.86) | color: oklch(0.6554 0.0358 333.86) | |
| Lab | lab(59.52 11.37 -5.95) | color: lab(59.52 11.37 -5.95) | |
| LCH | lch(59.52 12.83 332.38) | color: lch(59.52 12.83 332.38) |
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)
#959596 — rgb(149, 149, 150)
Deuteranopia (Green-blind)
#979895 — rgb(151, 152, 149)
Tritanopia (Blue-blind)
#9E9392 — rgb(158, 147, 146)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(312, 10%, 58%);
text
color: hsl(312, 10%, 58%);
border
border: 2px solid hsl(312, 10%, 58%);
gradient light
background: linear-gradient(to right, hsl(312, 10%, 78%), hsl(312, 10%, 58%));
gradient dark
background: linear-gradient(to right, hsl(312, 10%, 58%), hsl(312, 10%, 38%))
hex
background-color: #9F899A;
tailwind
bg-[hsl(312,10%,58%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(312, 10%, 58%, 0.4);
css variable
--color-primary: hsl(312, 10%, 58%);
Related Colors
Use Cases for Grayish Purple
Frequently Asked Questions
What are all the color codes for HSL(312, 10%, 58%)?
HEX: #9F899A | RGB: rgb(159, 137, 154) | CMYK: 0%, 14%, 3%, 38% | HSV: 314°, 14%, 62%. Copy any format from the conversion table above.
What colors go well with #9F899A?
The complementary color is HSL(132, 10%, 58%). For a triadic harmony, use hues 312°, 72°, and 192°. For analogous combinations, try hues 282° and 342°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(312, 10%, 58%) in CSS?
As HSL: color: hsl(312, 10%, 58%); — As HEX: color: #9F899A; — As RGB: color: rgb(159, 137, 154); — Tailwind CSS: bg-[hsl(312,10%,58%)] — CSS variable: --color-primary: hsl(312, 10%, 58%);