HSL(287, 65%, 59%)

Purple — Purple color

Adjust Color

Color Information

Color Name

Purple

Color Family

Purple

Warm / Cool

🔵 Cool

Temperature

6500K

CSS Class

bg-[hsl(287,65%,59%)]

Color Conversions

Format Value CSS Usage
HSL hsl(287, 65%, 59%) color: hsl(287, 65%, 59%)
HEX #BD52DA color: #BD52DA
RGB rgb(189, 82, 218) color: rgb(189, 82, 218)
CMYK cmyk(13%, 62%, 0%, 15%)
HSV hsv(287, 62%, 85%)
HWB hwb(287 32% 15%) color: hwb(287 32% 15%)
OKLCH oklch(0.6298 0.2145 318.46) color: oklch(0.6298 0.2145 318.46)
Lab lab(53.94 62.49 -50.88) color: lab(53.94 62.49 -50.88)
LCH lch(53.94 80.58 320.85) color: lch(53.94 80.58 320.85)

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 3.9:1
vs Black 5.38: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)

#8F8EB9 — rgb(143, 142, 185)

Deuteranopia (Green-blind)

#959DB1 — rgb(149, 157, 177)

Tritanopia (Blue-blind)

#B89F99 — rgb(184, 159, 153)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(287, 65%, 59%);

text

color: hsl(287, 65%, 59%);

border

border: 2px solid hsl(287, 65%, 59%);

gradient light

background: linear-gradient(to right, hsl(287, 65%, 79%), hsl(287, 65%, 59%));

gradient dark

background: linear-gradient(to right, hsl(287, 65%, 59%), hsl(287, 65%, 39%))

hex

background-color: #BD52DA;

tailwind

bg-[hsl(287,65%,59%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(287, 65%, 59%, 0.4);

css variable

--color-primary: hsl(287, 65%, 59%);

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(287, 65%, 59%)?

HEX: #BD52DA | RGB: rgb(189, 82, 218) | CMYK: 13%, 62%, 0%, 15% | HSV: 287°, 62%, 85%. Copy any format from the conversion table above.

What colors go well with #BD52DA?

The complementary color is HSL(107, 65%, 59%). For a triadic harmony, use hues 287°, 47°, and 167°. For analogous combinations, try hues 257° and 317°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(287, 65%, 59%) in CSS?

As HSL: color: hsl(287, 65%, 59%); — As HEX: color: #BD52DA; — As RGB: color: rgb(189, 82, 218); — Tailwind CSS: bg-[hsl(287,65%,59%)] — CSS variable: --color-primary: hsl(287, 65%, 59%);