HSL(291, 99%, 42%)

Vivid Purple — Purple color

Adjust Color

Color Information

Color Name

Vivid Purple

Color Family

Purple

Warm / Cool

🔵 Cool

Temperature

6500K

CSS Class

bg-[hsl(291,99%,42%)]

Color Conversions

Format Value CSS Usage
HSL hsl(291, 99%, 42%) color: hsl(291, 99%, 42%)
HEX #B501D5 color: #B501D5
RGB rgb(181, 1, 213) color: rgb(181, 1, 213)
CMYK cmyk(15%, 100%, 0%, 16%)
HSV hsv(291, 100%, 84%)
HWB hwb(291 0% 16%) color: hwb(291 0% 16%)
OKLCH oklch(0.5641 0.2708 319.67) color: oklch(0.5641 0.2708 319.67)
Lab lab(45.15 80.86 -62.21) color: lab(45.15 80.86 -62.21)
LCH lch(45.15 102.02 322.43) color: lch(45.15 102.02 322.43)

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 5.34:1
vs Black 3.93: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)

#6765A2 — rgb(103, 101, 162)

Deuteranopia (Green-blind)

#727F95 — rgb(114, 127, 149)

Tritanopia (Blue-blind)

#AC7970 — rgb(172, 121, 112)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(291, 99%, 42%);

text

color: hsl(291, 99%, 42%);

border

border: 2px solid hsl(291, 99%, 42%);

gradient light

background: linear-gradient(to right, hsl(291, 99%, 62%), hsl(291, 99%, 42%));

gradient dark

background: linear-gradient(to right, hsl(291, 99%, 42%), hsl(291, 99%, 22%))

hex

background-color: #B501D5;

tailwind

bg-[hsl(291,99%,42%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(291, 99%, 42%, 0.4);

css variable

--color-primary: hsl(291, 99%, 42%);

Related Colors

Use Cases for Vivid Purple

Luxury brands Creative agencies Beauty products Royalty themes Premium badges

Frequently Asked Questions

What are all the color codes for HSL(291, 99%, 42%)?

HEX: #B501D5 | RGB: rgb(181, 1, 213) | CMYK: 15%, 100%, 0%, 16% | HSV: 291°, 100%, 84%. Copy any format from the conversion table above.

What colors go well with #B501D5?

The complementary color is HSL(111, 99%, 42%). For a triadic harmony, use hues 291°, 51°, and 171°. For analogous combinations, try hues 261° and 321°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(291, 99%, 42%) in CSS?

As HSL: color: hsl(291, 99%, 42%); — As HEX: color: #B501D5; — As RGB: color: rgb(181, 1, 213); — Tailwind CSS: bg-[hsl(291,99%,42%)] — CSS variable: --color-primary: hsl(291, 99%, 42%);