HSL(285, 90%, 39%)

Purple — Purple color

Adjust Color

Color Information

Color Name

Purple

Color Family

Purple

Warm / Cool

🔵 Cool

Temperature

6500K

CSS Class

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

Color Conversions

Format Value CSS Usage
HSL hsl(285, 90%, 39%) color: hsl(285, 90%, 39%)
HEX #900ABD color: #900ABD
RGB rgb(144, 10, 189) color: rgb(144, 10, 189)
CMYK cmyk(24%, 95%, 0%, 26%)
HSV hsv(285, 95%, 74%)
HWB hwb(285 4% 26%) color: hwb(285 4% 26%)
OKLCH oklch(0.494 0.2398 313.94) color: oklch(0.494 0.2398 313.94)
Lab lab(37.52 70.59 -60.92) color: lab(37.52 70.59 -60.92)
LCH lch(37.52 93.24 319.21) color: lch(37.52 93.24 319.21)

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.08:1
vs Black 2.96: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)

#565592 — rgb(86, 85, 146)

Deuteranopia (Green-blind)

#5E6887 — rgb(94, 104, 135)

Tritanopia (Blue-blind)

#896F68 — rgb(137, 111, 104)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

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

text

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

border

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

gradient light

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

gradient dark

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

hex

background-color: #900ABD;

tailwind

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

box shadow

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

css variable

--color-primary: hsl(285, 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(285, 90%, 39%)?

HEX: #900ABD | RGB: rgb(144, 10, 189) | CMYK: 24%, 95%, 0%, 26% | HSV: 285°, 95%, 74%. Copy any format from the conversion table above.

What colors go well with #900ABD?

The complementary color is HSL(105, 90%, 39%). For a triadic harmony, use hues 285°, 45°, and 165°. For analogous combinations, try hues 255° and 315°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(285, 90%, 39%) in CSS?

As HSL: color: hsl(285, 90%, 39%); — As HEX: color: #900ABD; — As RGB: color: rgb(144, 10, 189); — Tailwind CSS: bg-[hsl(285,90%,39%)] — CSS variable: --color-primary: hsl(285, 90%, 39%);