HSL(313, 10%, 50%)

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(313,10%,50%)]

Color Conversions

Format Value CSS Usage
HSL hsl(313, 10%, 50%) color: hsl(313, 10%, 50%)
HEX #8C7387 color: #8C7387
RGB rgb(140, 115, 135) color: rgb(140, 115, 135)
CMYK cmyk(0%, 18%, 4%, 45%)
HSV hsv(312, 18%, 55%)
HWB hwb(312 45% 45%) color: hwb(312 45% 45%)
OKLCH oklch(0.5859 0.0425 333.04) color: oklch(0.5859 0.0425 333.04)
Lab lab(51.37 13.42 -7.25) color: lab(51.37 13.42 -7.25)
LCH lch(51.37 15.25 331.62) color: lch(51.37 15.25 331.62)

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.27:1
vs Black 4.92: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)

#818182 — rgb(129, 129, 130)

Deuteranopia (Green-blind)

#838581 — rgb(131, 133, 129)

Tritanopia (Blue-blind)

#8B7E7E — rgb(139, 126, 126)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(313, 10%, 50%);

text

color: hsl(313, 10%, 50%);

border

border: 2px solid hsl(313, 10%, 50%);

gradient light

background: linear-gradient(to right, hsl(313, 10%, 70%), hsl(313, 10%, 50%));

gradient dark

background: linear-gradient(to right, hsl(313, 10%, 50%), hsl(313, 10%, 30%))

hex

background-color: #8C7387;

tailwind

bg-[hsl(313,10%,50%)]

box shadow

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

css variable

--color-primary: hsl(313, 10%, 50%);

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(313, 10%, 50%)?

HEX: #8C7387 | RGB: rgb(140, 115, 135) | CMYK: 0%, 18%, 4%, 45% | HSV: 312°, 18%, 55%. Copy any format from the conversion table above.

What colors go well with #8C7387?

The complementary color is HSL(133, 10%, 50%). For a triadic harmony, use hues 313°, 73°, and 193°. For analogous combinations, try hues 283° and 343°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(313, 10%, 50%) in CSS?

As HSL: color: hsl(313, 10%, 50%); — As HEX: color: #8C7387; — As RGB: color: rgb(140, 115, 135); — Tailwind CSS: bg-[hsl(313,10%,50%)] — CSS variable: --color-primary: hsl(313, 10%, 50%);