HSL(290, 10%, 51%)

Grayish Purple — Purple color

Adjust Color

Color Information

Color Name

Grayish Purple

Color Family

Purple

Warm / Cool

🔵 Cool

Temperature

N/A

CSS Class

bg-[hsl(290,10%,51%)]

Color Conversions

Format Value CSS Usage
HSL hsl(290, 10%, 51%) color: hsl(290, 10%, 51%)
HEX #8A768F color: #8A768F
RGB rgb(138, 118, 143) color: rgb(138, 118, 143)
CMYK cmyk(3%, 17%, 0%, 44%)
HSV hsv(288, 17%, 56%)
HWB hwb(288 46% 44%) color: hwb(288 46% 44%)
OKLCH oklch(0.5929 0.0442 319.46) color: oklch(0.5929 0.0442 319.46)
Lab lab(52.22 12.54 -10.69) color: lab(52.22 12.54 -10.69)
LCH lch(52.22 16.48 319.55) color: lch(52.22 16.48 319.55)

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 4.14:1
vs Black 5.07: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)

#818189 — rgb(129, 129, 137)

Deuteranopia (Green-blind)

#838488 — rgb(131, 132, 136)

Tritanopia (Blue-blind)

#898483 — rgb(137, 132, 131)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(290, 10%, 51%);

text

color: hsl(290, 10%, 51%);

border

border: 2px solid hsl(290, 10%, 51%);

gradient light

background: linear-gradient(to right, hsl(290, 10%, 71%), hsl(290, 10%, 51%));

gradient dark

background: linear-gradient(to right, hsl(290, 10%, 51%), hsl(290, 10%, 31%))

hex

background-color: #8A768F;

tailwind

bg-[hsl(290,10%,51%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(290, 10%, 51%, 0.4);

css variable

--color-primary: hsl(290, 10%, 51%);

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(290, 10%, 51%)?

HEX: #8A768F | RGB: rgb(138, 118, 143) | CMYK: 3%, 17%, 0%, 44% | HSV: 288°, 17%, 56%. Copy any format from the conversion table above.

What colors go well with #8A768F?

The complementary color is HSL(110, 10%, 51%). For a triadic harmony, use hues 290°, 50°, and 170°. For analogous combinations, try hues 260° and 320°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(290, 10%, 51%) in CSS?

As HSL: color: hsl(290, 10%, 51%); — As HEX: color: #8A768F; — As RGB: color: rgb(138, 118, 143); — Tailwind CSS: bg-[hsl(290,10%,51%)] — CSS variable: --color-primary: hsl(290, 10%, 51%);