HSL(309, 12%, 54%)
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(309,12%,54%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(309, 12%, 54%) | color: hsl(309, 12%, 54%) | |
| HEX | #987C94 | color: #987C94 | |
| RGB | rgb(152, 124, 148) | color: rgb(152, 124, 148) | |
| CMYK | cmyk(0%, 18%, 3%, 40%) | — | |
| HSV | hsv(309, 18%, 60%) | — | |
| HWB | hwb(309 49% 40%) | color: hwb(309 49% 40%) | |
| OKLCH | oklch(0.6205 0.0485 330.95) | color: oklch(0.6205 0.0485 330.95) | |
| Lab | lab(55.31 15.12 -8.84) | color: lab(55.31 15.12 -8.84) | |
| LCH | lch(55.31 17.51 329.69) | color: lch(55.31 17.51 329.69) |
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)
#8C8C8E — rgb(140, 140, 142)
Deuteranopia (Green-blind)
#8E908D — rgb(142, 144, 141)
Tritanopia (Blue-blind)
#978A89 — rgb(151, 138, 137)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(309, 12%, 54%);
text
color: hsl(309, 12%, 54%);
border
border: 2px solid hsl(309, 12%, 54%);
gradient light
background: linear-gradient(to right, hsl(309, 12%, 74%), hsl(309, 12%, 54%));
gradient dark
background: linear-gradient(to right, hsl(309, 12%, 54%), hsl(309, 12%, 34%))
hex
background-color: #987C94;
tailwind
bg-[hsl(309,12%,54%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(309, 12%, 54%, 0.4);
css variable
--color-primary: hsl(309, 12%, 54%);
Related Colors
Use Cases for Grayish Purple
Frequently Asked Questions
What are all the color codes for HSL(309, 12%, 54%)?
HEX: #987C94 | RGB: rgb(152, 124, 148) | CMYK: 0%, 18%, 3%, 40% | HSV: 309°, 18%, 60%. Copy any format from the conversion table above.
What colors go well with #987C94?
The complementary color is HSL(129, 12%, 54%). For a triadic harmony, use hues 309°, 69°, and 189°. For analogous combinations, try hues 279° and 339°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(309, 12%, 54%) in CSS?
As HSL: color: hsl(309, 12%, 54%); — As HEX: color: #987C94; — As RGB: color: rgb(152, 124, 148); — Tailwind CSS: bg-[hsl(309,12%,54%)] — CSS variable: --color-primary: hsl(309, 12%, 54%);