HSL(299, 60%, 50%)

Purple — Purple color

Adjust Color

Color Information

Color Name

Purple

Color Family

Purple

Warm / Cool

🔵 Cool

Temperature

6500K

CSS Class

bg-[hsl(299,60%,50%)]

Color Conversions

Format Value CSS Usage
HSL hsl(299, 60%, 50%) color: hsl(299, 60%, 50%)
HEX #C933CC color: #C933CC
RGB rgb(201, 51, 204) color: rgb(201, 51, 204)
CMYK cmyk(1%, 75%, 0%, 20%)
HSV hsv(299, 75%, 80%)
HWB hwb(299 20% 20%) color: hwb(299 20% 20%)
OKLCH oklch(0.6087 0.2445 327.21) color: oklch(0.6087 0.2445 327.21)
Lab lab(50.86 74.14 -47.69) color: lab(50.86 74.14 -47.69)
LCH lch(50.86 88.15 327.25) color: lch(50.86 88.15 327.25)

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 4.35:1
vs Black 4.83: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)

#8887A7 — rgb(136, 135, 167)

Deuteranopia (Green-blind)

#919C9E — rgb(145, 156, 158)

Tritanopia (Blue-blind)

#C28A83 — rgb(194, 138, 131)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(299, 60%, 50%);

text

color: hsl(299, 60%, 50%);

border

border: 2px solid hsl(299, 60%, 50%);

gradient light

background: linear-gradient(to right, hsl(299, 60%, 70%), hsl(299, 60%, 50%));

gradient dark

background: linear-gradient(to right, hsl(299, 60%, 50%), hsl(299, 60%, 30%))

hex

background-color: #C933CC;

tailwind

bg-[hsl(299,60%,50%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(299, 60%, 50%, 0.4);

css variable

--color-primary: hsl(299, 60%, 50%);

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(299, 60%, 50%)?

HEX: #C933CC | RGB: rgb(201, 51, 204) | CMYK: 1%, 75%, 0%, 20% | HSV: 299°, 75%, 80%. Copy any format from the conversion table above.

What colors go well with #C933CC?

The complementary color is HSL(119, 60%, 50%). For a triadic harmony, use hues 299°, 59°, and 179°. For analogous combinations, try hues 269° and 329°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(299, 60%, 50%) in CSS?

As HSL: color: hsl(299, 60%, 50%); — As HEX: color: #C933CC; — As RGB: color: rgb(201, 51, 204); — Tailwind CSS: bg-[hsl(299,60%,50%)] — CSS variable: --color-primary: hsl(299, 60%, 50%);