HSL(289, 60%, 40%)

Purple — Purple color

Adjust Color

Color Information

Color Name

Purple

Color Family

Purple

Warm / Cool

🔵 Cool

Temperature

6500K

CSS Class

bg-[hsl(289,60%,40%)]

Color Conversions

Format Value CSS Usage
HSL hsl(289, 60%, 40%) color: hsl(289, 60%, 40%)
HEX #8D29A3 color: #8D29A3
RGB rgb(141, 41, 163) color: rgb(141, 41, 163)
CMYK cmyk(13%, 75%, 0%, 36%)
HSV hsv(289, 75%, 64%)
HWB hwb(289 16% 36%) color: hwb(289 16% 36%)
OKLCH oklch(0.4881 0.1961 319.65) color: oklch(0.4881 0.1961 319.65)
Lab lab(37.65 57.92 -45.26) color: lab(37.65 57.92 -45.26)
LCH lch(37.65 73.51 322) color: lch(37.65 73.51 322)

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.05:1
vs Black 2.98: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)

#626185 — rgb(98, 97, 133)

Deuteranopia (Green-blind)

#686F7E — rgb(104, 111, 126)

Tritanopia (Blue-blind)

#886E69 — rgb(136, 110, 105)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(289, 60%, 40%);

text

color: hsl(289, 60%, 40%);

border

border: 2px solid hsl(289, 60%, 40%);

gradient light

background: linear-gradient(to right, hsl(289, 60%, 60%), hsl(289, 60%, 40%));

gradient dark

background: linear-gradient(to right, hsl(289, 60%, 40%), hsl(289, 60%, 20%))

hex

background-color: #8D29A3;

tailwind

bg-[hsl(289,60%,40%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(289, 60%, 40%, 0.4);

css variable

--color-primary: hsl(289, 60%, 40%);

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(289, 60%, 40%)?

HEX: #8D29A3 | RGB: rgb(141, 41, 163) | CMYK: 13%, 75%, 0%, 36% | HSV: 289°, 75%, 64%. Copy any format from the conversion table above.

What colors go well with #8D29A3?

The complementary color is HSL(109, 60%, 40%). For a triadic harmony, use hues 289°, 49°, and 169°. For analogous combinations, try hues 259° and 319°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(289, 60%, 40%) in CSS?

As HSL: color: hsl(289, 60%, 40%); — As HEX: color: #8D29A3; — As RGB: color: rgb(141, 41, 163); — Tailwind CSS: bg-[hsl(289,60%,40%)] — CSS variable: --color-primary: hsl(289, 60%, 40%);