HSL(304, 52%, 74%)

Purple — Purple color

Adjust Color

Color Information

Color Name

Purple

Color Family

Purple

Warm / Cool

🔴 Warm

Temperature

6500K

CSS Class

bg-[hsl(304,52%,74%)]

Color Conversions

Format Value CSS Usage
HSL hsl(304, 52%, 74%) color: hsl(304, 52%, 74%)
HEX #DF9ADB color: #DF9ADB
RGB rgb(223, 154, 219) color: rgb(223, 154, 219)
CMYK cmyk(0%, 31%, 2%, 13%)
HSV hsv(303, 31%, 87%)
HWB hwb(303 60% 13%) color: hwb(303 60% 13%)
OKLCH oklch(0.7744 0.1178 328.63) color: oklch(0.7744 0.1178 328.63)
Lab lab(72.17 36.03 -22.7) color: lab(72.17 36.03 -22.7)
LCH lch(72.17 42.58 327.79) color: lch(72.17 42.58 327.79)

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 2.15:1
vs Black 9.78:1

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: FAIL ✗ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: black

Color Blindness Simulation

Protanopia (Red-blind)

#C1C1CB — rgb(193, 193, 203)

Deuteranopia (Green-blind)

#C5CAC8 — rgb(197, 202, 200)

Tritanopia (Blue-blind)

#DCBFBC — rgb(220, 191, 188)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(304, 52%, 74%);

text

color: hsl(304, 52%, 74%);

border

border: 2px solid hsl(304, 52%, 74%);

gradient light

background: linear-gradient(to right, hsl(304, 52%, 94%), hsl(304, 52%, 74%));

gradient dark

background: linear-gradient(to right, hsl(304, 52%, 74%), hsl(304, 52%, 54%))

hex

background-color: #DF9ADB;

tailwind

bg-[hsl(304,52%,74%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(304, 52%, 74%, 0.4);

css variable

--color-primary: hsl(304, 52%, 74%);

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(304, 52%, 74%)?

HEX: #DF9ADB | RGB: rgb(223, 154, 219) | CMYK: 0%, 31%, 2%, 13% | HSV: 303°, 31%, 87%. Copy any format from the conversion table above.

What colors go well with #DF9ADB?

The complementary color is HSL(124, 52%, 74%). For a triadic harmony, use hues 304°, 64°, and 184°. For analogous combinations, try hues 274° and 334°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(304, 52%, 74%) in CSS?

As HSL: color: hsl(304, 52%, 74%); — As HEX: color: #DF9ADB; — As RGB: color: rgb(223, 154, 219); — Tailwind CSS: bg-[hsl(304,52%,74%)] — CSS variable: --color-primary: hsl(304, 52%, 74%);