HSL(291, 97%, 51%)

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,97%,51%)]

Color Conversions

Format Value CSS Usage
HSL hsl(291, 97%, 51%) color: hsl(291, 97%, 51%)
HEX #D709FB color: #D709FB
RGB rgb(215, 9, 251) color: rgb(215, 9, 251)
CMYK cmyk(14%, 96%, 0%, 2%)
HSV hsv(291, 96%, 98%)
HWB hwb(291 4% 2%) color: hwb(291 4% 2%)
OKLCH oklch(0.6416 0.3053 319.96) color: oklch(0.6416 0.3053 319.96)
Lab lab(53.61 91.18 -69.76) color: lab(53.61 91.18 -69.76)
LCH lch(53.61 114.81 322.58) color: lch(53.61 114.81 322.58)

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.95:1
vs Black 5.32: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)

#7E7CC0 — rgb(126, 124, 192)

Deuteranopia (Green-blind)

#8A99B2 — rgb(138, 153, 178)

Tritanopia (Blue-blind)

#CD9288 — rgb(205, 146, 136)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(291, 97%, 51%);

text

color: hsl(291, 97%, 51%);

border

border: 2px solid hsl(291, 97%, 51%);

gradient light

background: linear-gradient(to right, hsl(291, 97%, 71%), hsl(291, 97%, 51%));

gradient dark

background: linear-gradient(to right, hsl(291, 97%, 51%), hsl(291, 97%, 31%))

hex

background-color: #D709FB;

tailwind

bg-[hsl(291,97%,51%)]

box shadow

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

css variable

--color-primary: hsl(291, 97%, 51%);

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, 97%, 51%)?

HEX: #D709FB | RGB: rgb(215, 9, 251) | CMYK: 14%, 96%, 0%, 2% | HSV: 291°, 96%, 98%. Copy any format from the conversion table above.

What colors go well with #D709FB?

The complementary color is HSL(111, 97%, 51%). 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, 97%, 51%) in CSS?

As HSL: color: hsl(291, 97%, 51%); — As HEX: color: #D709FB; — As RGB: color: rgb(215, 9, 251); — Tailwind CSS: bg-[hsl(291,97%,51%)] — CSS variable: --color-primary: hsl(291, 97%, 51%);