HSL(286, 99%, 58%)

Vivid Purple — Purple color

Adjust Color

Color Information

Color Name

Vivid Purple

Color Family

Purple

Warm / Cool

🔵 Cool

Temperature

6500K

CSS Class

bg-[hsl(286,99%,58%)]

Color Conversions

Format Value CSS Usage
HSL hsl(286, 99%, 58%) color: hsl(286, 99%, 58%)
HEX #CC2AFE color: #CC2AFE
RGB rgb(204, 42, 254) color: rgb(204, 42, 254)
CMYK cmyk(20%, 83%, 0%, 0%)
HSV hsv(286, 83%, 100%)
HWB hwb(286 17% 0%) color: hwb(286 17% 0%)
OKLCH oklch(0.6393 0.2904 315.98) color: oklch(0.6393 0.2904 315.98)
Lab lab(53.65 85.43 -71.44) color: lab(53.65 85.43 -71.44)
LCH lch(53.65 111.36 320.1) color: lch(53.65 111.36 320.1)

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.94:1
vs Black 5.33: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)

#8684CB — rgb(134, 132, 203)

Deuteranopia (Green-blind)

#8F9BBE — rgb(143, 155, 190)

Tritanopia (Blue-blind)

#C4A299 — rgb(196, 162, 153)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(286, 99%, 58%);

text

color: hsl(286, 99%, 58%);

border

border: 2px solid hsl(286, 99%, 58%);

gradient light

background: linear-gradient(to right, hsl(286, 99%, 78%), hsl(286, 99%, 58%));

gradient dark

background: linear-gradient(to right, hsl(286, 99%, 58%), hsl(286, 99%, 38%))

hex

background-color: #CC2AFE;

tailwind

bg-[hsl(286,99%,58%)]

box shadow

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

css variable

--color-primary: hsl(286, 99%, 58%);

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(286, 99%, 58%)?

HEX: #CC2AFE | RGB: rgb(204, 42, 254) | CMYK: 20%, 83%, 0%, 0% | HSV: 286°, 83%, 100%. Copy any format from the conversion table above.

What colors go well with #CC2AFE?

The complementary color is HSL(106, 99%, 58%). For a triadic harmony, use hues 286°, 46°, and 166°. For analogous combinations, try hues 256° and 316°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(286, 99%, 58%) in CSS?

As HSL: color: hsl(286, 99%, 58%); — As HEX: color: #CC2AFE; — As RGB: color: rgb(204, 42, 254); — Tailwind CSS: bg-[hsl(286,99%,58%)] — CSS variable: --color-primary: hsl(286, 99%, 58%);