HSL(290, 90%, 39%)

Purple — Purple color

Adjust Color

Color Information

Color Name

Purple

Color Family

Purple

Warm / Cool

🔵 Cool

Temperature

6500K

CSS Class

bg-[hsl(290,90%,39%)]

Color Conversions

Format Value CSS Usage
HSL hsl(290, 90%, 39%) color: hsl(290, 90%, 39%)
HEX #9F0ABD color: #9F0ABD
RGB rgb(159, 10, 189) color: rgb(159, 10, 189)
CMYK cmyk(16%, 95%, 0%, 26%)
HSV hsv(290, 95%, 74%)
HWB hwb(290 4% 26%) color: hwb(290 4% 26%)
OKLCH oklch(0.5161 0.2442 319.1) color: oklch(0.5161 0.2442 319.1)
Lab lab(40.02 72.75 -56.75) color: lab(40.02 72.75 -56.75)
LCH lch(40.02 92.27 322.04) color: lch(40.02 92.27 322.04)

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 6.46:1
vs Black 3.25:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#5E5D92 — rgb(94, 93, 146)

Deuteranopia (Green-blind)

#677287 — rgb(103, 114, 135)

Tritanopia (Blue-blind)

#986F68 — rgb(152, 111, 104)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(290, 90%, 39%);

text

color: hsl(290, 90%, 39%);

border

border: 2px solid hsl(290, 90%, 39%);

gradient light

background: linear-gradient(to right, hsl(290, 90%, 59%), hsl(290, 90%, 39%));

gradient dark

background: linear-gradient(to right, hsl(290, 90%, 39%), hsl(290, 90%, 19%))

hex

background-color: #9F0ABD;

tailwind

bg-[hsl(290,90%,39%)]

box shadow

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

css variable

--color-primary: hsl(290, 90%, 39%);

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(290, 90%, 39%)?

HEX: #9F0ABD | RGB: rgb(159, 10, 189) | CMYK: 16%, 95%, 0%, 26% | HSV: 290°, 95%, 74%. Copy any format from the conversion table above.

What colors go well with #9F0ABD?

The complementary color is HSL(110, 90%, 39%). 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, 90%, 39%) in CSS?

As HSL: color: hsl(290, 90%, 39%); — As HEX: color: #9F0ABD; — As RGB: color: rgb(159, 10, 189); — Tailwind CSS: bg-[hsl(290,90%,39%)] — CSS variable: --color-primary: hsl(290, 90%, 39%);