HSL(299, 72%, 52%)

Purple — Purple color

Adjust Color

Color Information

Color Name

Purple

Color Family

Purple

Warm / Cool

🔵 Cool

Temperature

6500K

CSS Class

bg-[hsl(299,72%,52%)]

Color Conversions

Format Value CSS Usage
HSL hsl(299, 72%, 52%) color: hsl(299, 72%, 52%)
HEX #DA2CDD color: #DA2CDD
RGB rgb(218, 44, 221) color: rgb(218, 44, 221)
CMYK cmyk(1%, 80%, 0%, 13%)
HSV hsv(299, 80%, 87%)
HWB hwb(299 17% 13%) color: hwb(299 17% 13%)
OKLCH oklch(0.639 0.2698 327.4) color: oklch(0.639 0.2698 327.4)
Lab lab(53.95 81.91 -52.31) color: lab(53.95 81.91 -52.31)
LCH lch(53.95 97.19 327.44) color: lch(53.95 97.19 327.44)

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.9:1
vs Black 5.39: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)

#8F8DB2 — rgb(143, 141, 178)

Deuteranopia (Green-blind)

#99A6A8 — rgb(153, 166, 168)

Tritanopia (Blue-blind)

#D19089 — rgb(209, 144, 137)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(299, 72%, 52%);

text

color: hsl(299, 72%, 52%);

border

border: 2px solid hsl(299, 72%, 52%);

gradient light

background: linear-gradient(to right, hsl(299, 72%, 72%), hsl(299, 72%, 52%));

gradient dark

background: linear-gradient(to right, hsl(299, 72%, 52%), hsl(299, 72%, 32%))

hex

background-color: #DA2CDD;

tailwind

bg-[hsl(299,72%,52%)]

box shadow

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

css variable

--color-primary: hsl(299, 72%, 52%);

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, 72%, 52%)?

HEX: #DA2CDD | RGB: rgb(218, 44, 221) | CMYK: 1%, 80%, 0%, 13% | HSV: 299°, 80%, 87%. Copy any format from the conversion table above.

What colors go well with #DA2CDD?

The complementary color is HSL(119, 72%, 52%). 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, 72%, 52%) in CSS?

As HSL: color: hsl(299, 72%, 52%); — As HEX: color: #DA2CDD; — As RGB: color: rgb(218, 44, 221); — Tailwind CSS: bg-[hsl(299,72%,52%)] — CSS variable: --color-primary: hsl(299, 72%, 52%);