HSL(292, 17%, 52%)

Purple — Purple color

Adjust Color

Color Information

Color Name

Purple

Color Family

Purple

Warm / Cool

🔵 Cool

Temperature

N/A

CSS Class

bg-[hsl(292,17%,52%)]

Color Conversions

Format Value CSS Usage
HSL hsl(292, 17%, 52%) color: hsl(292, 17%, 52%)
HEX #947099 color: #947099
RGB rgb(148, 112, 153) color: rgb(148, 112, 153)
CMYK cmyk(3%, 27%, 0%, 40%)
HSV hsv(293, 27%, 60%)
HWB hwb(293 44% 40%) color: hwb(293 44% 40%)
OKLCH oklch(0.5951 0.074 322.32) color: oklch(0.5951 0.074 322.32)
Lab lab(52.05 21.66 -16.72) color: lab(52.05 21.66 -16.72)
LCH lch(52.05 27.36 322.33) color: lch(52.05 27.36 322.33)

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.17:1
vs Black 5.04: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)

#84848F — rgb(132, 132, 143)

Deuteranopia (Green-blind)

#87898D — rgb(135, 137, 141)

Tritanopia (Blue-blind)

#928786 — rgb(146, 135, 134)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(292, 17%, 52%);

text

color: hsl(292, 17%, 52%);

border

border: 2px solid hsl(292, 17%, 52%);

gradient light

background: linear-gradient(to right, hsl(292, 17%, 72%), hsl(292, 17%, 52%));

gradient dark

background: linear-gradient(to right, hsl(292, 17%, 52%), hsl(292, 17%, 32%))

hex

background-color: #947099;

tailwind

bg-[hsl(292,17%,52%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(292, 17%, 52%, 0.4);

css variable

--color-primary: hsl(292, 17%, 52%);

Related Colors

Use Cases for Purple

Luxury brands Creative agencies Beauty products Royalty themes Premium badges

Frequently Asked Questions

What are all the color codes for HSL(292, 17%, 52%)?

HEX: #947099 | RGB: rgb(148, 112, 153) | CMYK: 3%, 27%, 0%, 40% | HSV: 293°, 27%, 60%. Copy any format from the conversion table above.

What colors go well with #947099?

The complementary color is HSL(112, 17%, 52%). For a triadic harmony, use hues 292°, 52°, and 172°. For analogous combinations, try hues 262° and 322°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(292, 17%, 52%) in CSS?

As HSL: color: hsl(292, 17%, 52%); — As HEX: color: #947099; — As RGB: color: rgb(148, 112, 153); — Tailwind CSS: bg-[hsl(292,17%,52%)] — CSS variable: --color-primary: hsl(292, 17%, 52%);