HSL(302, 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(302,10%,58%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(302, 10%, 58%) | color: hsl(302, 10%, 58%) | |
| HEX | #9F899E | color: #9F899E | |
| RGB | rgb(159, 137, 158) | color: rgb(159, 137, 158) | |
| CMYK | cmyk(0%, 14%, 1%, 38%) | — | |
| HSV | hsv(303, 14%, 62%) | — | |
| HWB | hwb(303 53% 38%) | color: hwb(303 53% 38%) | |
| OKLCH | oklch(0.6568 0.0399 327.44) | color: oklch(0.6568 0.0399 327.44) | |
| Lab | lab(59.65 12.15 -8.06) | color: lab(59.65 12.15 -8.06) | |
| LCH | lch(59.65 14.58 326.44) | color: lch(59.65 14.58 326.44) |
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)
#959599 — rgb(149, 149, 153)
Deuteranopia (Green-blind)
#979898 — rgb(151, 152, 152)
Tritanopia (Blue-blind)
#9E9594 — rgb(158, 149, 148)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(302, 10%, 58%);
text
color: hsl(302, 10%, 58%);
border
border: 2px solid hsl(302, 10%, 58%);
gradient light
background: linear-gradient(to right, hsl(302, 10%, 78%), hsl(302, 10%, 58%));
gradient dark
background: linear-gradient(to right, hsl(302, 10%, 58%), hsl(302, 10%, 38%))
hex
background-color: #9F899E;
tailwind
bg-[hsl(302,10%,58%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(302, 10%, 58%, 0.4);
css variable
--color-primary: hsl(302, 10%, 58%);
Related Colors
Use Cases for Grayish Purple
Frequently Asked Questions
What are all the color codes for HSL(302, 10%, 58%)?
HEX: #9F899E | RGB: rgb(159, 137, 158) | CMYK: 0%, 14%, 1%, 38% | HSV: 303°, 14%, 62%. Copy any format from the conversion table above.
What colors go well with #9F899E?
The complementary color is HSL(122, 10%, 58%). For a triadic harmony, use hues 302°, 62°, and 182°. For analogous combinations, try hues 272° and 332°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(302, 10%, 58%) in CSS?
As HSL: color: hsl(302, 10%, 58%); — As HEX: color: #9F899E; — As RGB: color: rgb(159, 137, 158); — Tailwind CSS: bg-[hsl(302,10%,58%)] — CSS variable: --color-primary: hsl(302, 10%, 58%);