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

Complementary

Triadic

Analogous

Tetradic (Square)

Split-Complementary

Accessibility (WCAG)

White text on color

Black text on color

Color on white bg

Colored text

Contrast Ratios

vs White 3.72:1
vs Black 5.65:1

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

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

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

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

Luxury brands Creative agencies Beauty products Royalty themes Premium badges

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%);