HSL(291, 81%, 56%)

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,81%,56%)]

Color Conversions

Format Value CSS Usage
HSL hsl(291, 81%, 56%) color: hsl(291, 81%, 56%)
HEX #CE34EA color: #CE34EA
RGB rgb(206, 52, 234) color: rgb(206, 52, 234)
CMYK cmyk(12%, 78%, 0%, 8%)
HSV hsv(291, 78%, 92%)
HWB hwb(291 20% 8%) color: hwb(291 20% 8%)
OKLCH oklch(0.6347 0.2683 320.79) color: oklch(0.6347 0.2683 320.79)
Lab lab(53.51 79.78 -60.46) color: lab(53.51 79.78 -60.46)
LCH lch(53.51 100.1 322.84) color: lch(53.51 100.1 322.84)

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.96:1
vs Black 5.3: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)

#8B8ABE — rgb(139, 138, 190)

Deuteranopia (Green-blind)

#94A0B3 — rgb(148, 160, 179)

Tritanopia (Blue-blind)

#C69B94 — rgb(198, 155, 148)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(291, 81%, 56%);

text

color: hsl(291, 81%, 56%);

border

border: 2px solid hsl(291, 81%, 56%);

gradient light

background: linear-gradient(to right, hsl(291, 81%, 76%), hsl(291, 81%, 56%));

gradient dark

background: linear-gradient(to right, hsl(291, 81%, 56%), hsl(291, 81%, 36%))

hex

background-color: #CE34EA;

tailwind

bg-[hsl(291,81%,56%)]

box shadow

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

css variable

--color-primary: hsl(291, 81%, 56%);

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, 81%, 56%)?

HEX: #CE34EA | RGB: rgb(206, 52, 234) | CMYK: 12%, 78%, 0%, 8% | HSV: 291°, 78%, 92%. Copy any format from the conversion table above.

What colors go well with #CE34EA?

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

As HSL: color: hsl(291, 81%, 56%); — As HEX: color: #CE34EA; — As RGB: color: rgb(206, 52, 234); — Tailwind CSS: bg-[hsl(291,81%,56%)] — CSS variable: --color-primary: hsl(291, 81%, 56%);