HSL(297, 94%, 32%)

Purple — Purple color

Adjust Color

Color Information

Color Name

Purple

Color Family

Purple

Warm / Cool

🔵 Cool

Temperature

6500K

CSS Class

bg-[hsl(297,94%,32%)]

Color Conversions

Format Value CSS Usage
HSL hsl(297, 94%, 32%) color: hsl(297, 94%, 32%)
HEX #97059E color: #97059E
RGB rgb(151, 5, 158) color: rgb(151, 5, 158)
CMYK cmyk(4%, 97%, 0%, 38%)
HSV hsv(297, 97%, 62%)
HWB hwb(297 2% 38%) color: hwb(297 2% 38%)
OKLCH oklch(0.4807 0.221 325.94) color: oklch(0.4807 0.221 325.94)
Lab lab(36.29 66.92 -44.34) color: lab(36.29 66.92 -44.34)
LCH lch(36.29 80.28 326.47) color: lch(36.29 80.28 326.47)

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 7.42:1
vs Black 2.83:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: FAIL ✗

AAA Normal (7:1)

on White: PASS ✓

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#585679 — rgb(88, 86, 121)

Deuteranopia (Green-blind)

#606B70 — rgb(96, 107, 112)

Tritanopia (Blue-blind)

#905C55 — rgb(144, 92, 85)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(297, 94%, 32%);

text

color: hsl(297, 94%, 32%);

border

border: 2px solid hsl(297, 94%, 32%);

gradient light

background: linear-gradient(to right, hsl(297, 94%, 52%), hsl(297, 94%, 32%));

gradient dark

background: linear-gradient(to right, hsl(297, 94%, 32%), hsl(297, 94%, 12%))

hex

background-color: #97059E;

tailwind

bg-[hsl(297,94%,32%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(297, 94%, 32%, 0.4);

css variable

--color-primary: hsl(297, 94%, 32%);

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(297, 94%, 32%)?

HEX: #97059E | RGB: rgb(151, 5, 158) | CMYK: 4%, 97%, 0%, 38% | HSV: 297°, 97%, 62%. Copy any format from the conversion table above.

What colors go well with #97059E?

The complementary color is HSL(117, 94%, 32%). For a triadic harmony, use hues 297°, 57°, and 177°. For analogous combinations, try hues 267° and 327°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(297, 94%, 32%) in CSS?

As HSL: color: hsl(297, 94%, 32%); — As HEX: color: #97059E; — As RGB: color: rgb(151, 5, 158); — Tailwind CSS: bg-[hsl(297,94%,32%)] — CSS variable: --color-primary: hsl(297, 94%, 32%);