HSL(302, 60%, 55%)

Purple — Purple color

Adjust Color

Color Information

Color Name

Purple

Color Family

Purple

Warm / Cool

🔴 Warm

Temperature

6500K

CSS Class

bg-[hsl(302,60%,55%)]

Color Conversions

Format Value CSS Usage
HSL hsl(302, 60%, 55%) color: hsl(302, 60%, 55%)
HEX #D147CD color: #D147CD
RGB rgb(209, 71, 205) color: rgb(209, 71, 205)
CMYK cmyk(0%, 66%, 2%, 18%)
HSV hsv(302, 66%, 82%)
HWB hwb(302 28% 18%) color: hwb(302 28% 18%)
OKLCH oklch(0.6376 0.2273 329.05) color: oklch(0.6376 0.2273 329.05)
Lab lab(54.52 69.35 -42.37) color: lab(54.52 69.35 -42.37)
LCH lch(54.52 81.27 328.58) color: lch(54.52 81.27 328.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.82:1
vs Black 5.49: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)

#9594AD — rgb(149, 148, 173)

Deuteranopia (Green-blind)

#9DA8A5 — rgb(157, 168, 165)

Tritanopia (Blue-blind)

#CA938D — rgb(202, 147, 141)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(302, 60%, 55%);

text

color: hsl(302, 60%, 55%);

border

border: 2px solid hsl(302, 60%, 55%);

gradient light

background: linear-gradient(to right, hsl(302, 60%, 75%), hsl(302, 60%, 55%));

gradient dark

background: linear-gradient(to right, hsl(302, 60%, 55%), hsl(302, 60%, 35%))

hex

background-color: #D147CD;

tailwind

bg-[hsl(302,60%,55%)]

box shadow

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

css variable

--color-primary: hsl(302, 60%, 55%);

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(302, 60%, 55%)?

HEX: #D147CD | RGB: rgb(209, 71, 205) | CMYK: 0%, 66%, 2%, 18% | HSV: 302°, 66%, 82%. Copy any format from the conversion table above.

What colors go well with #D147CD?

The complementary color is HSL(122, 60%, 55%). For a triadic harmony, use hues 302°, 62°, and 182°. For analogous combinations, try hues 272° and 332°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(302, 60%, 55%) in CSS?

As HSL: color: hsl(302, 60%, 55%); — As HEX: color: #D147CD; — As RGB: color: rgb(209, 71, 205); — Tailwind CSS: bg-[hsl(302,60%,55%)] — CSS variable: --color-primary: hsl(302, 60%, 55%);