HSL(309, 60%, 50%)

Purple — Purple color

Adjust Color

Color Information

Color Name

Purple

Color Family

Purple

Warm / Cool

🔴 Warm

Temperature

6500K

CSS Class

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

Color Conversions

Format Value CSS Usage
HSL hsl(309, 60%, 50%) color: hsl(309, 60%, 50%)
HEX #CC33B5 color: #CC33B5
RGB rgb(204, 51, 181) color: rgb(204, 51, 181)
CMYK cmyk(0%, 75%, 11%, 20%)
HSV hsv(309, 75%, 80%)
HWB hwb(309 20% 20%) color: hwb(309 20% 20%)
OKLCH oklch(0.6007 0.2295 335.03) color: oklch(0.6007 0.2295 335.03)
Lab lab(50.15 71.29 -35.44) color: lab(50.15 71.29 -35.44)
LCH lch(50.15 79.61 333.57) color: lch(50.15 79.61 333.57)

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.46:1
vs Black 4.71: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)

#8A8896 — rgb(138, 136, 150)

Deuteranopia (Green-blind)

#939E8E — rgb(147, 158, 142)

Tritanopia (Blue-blind)

#C47D77 — rgb(196, 125, 119)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

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

text

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

border

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

gradient light

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

gradient dark

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

hex

background-color: #CC33B5;

tailwind

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

box shadow

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

css variable

--color-primary: hsl(309, 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(309, 60%, 50%)?

HEX: #CC33B5 | RGB: rgb(204, 51, 181) | CMYK: 0%, 75%, 11%, 20% | HSV: 309°, 75%, 80%. Copy any format from the conversion table above.

What colors go well with #CC33B5?

The complementary color is HSL(129, 60%, 50%). For a triadic harmony, use hues 309°, 69°, and 189°. For analogous combinations, try hues 279° and 339°. See the Color Harmony section above for complete palettes with previews.

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

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