HSL(304, 30%, 72%)

Purple — Purple color

Adjust Color

Color Information

Color Name

Purple

Color Family

Purple

Warm / Cool

🔴 Warm

Temperature

6500K

CSS Class

bg-[hsl(304,30%,72%)]

Color Conversions

Format Value CSS Usage
HSL hsl(304, 30%, 72%) color: hsl(304, 30%, 72%)
HEX #CDA2CA color: #CDA2CA
RGB rgb(205, 162, 202) color: rgb(205, 162, 202)
CMYK cmyk(0%, 21%, 1%, 20%)
HSV hsv(304, 21%, 80%)
HWB hwb(304 63% 20%) color: hwb(304 63% 20%)
OKLCH oklch(0.7641 0.0738 328.56) color: oklch(0.7641 0.0738 328.56)
Lab lab(71.61 22.61 -14.37) color: lab(71.61 22.61 -14.37)
LCH lch(71.61 26.79 327.56) color: lch(71.61 26.79 327.56)

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.18:1
vs Black 9.62: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)

#BABAC0 — rgb(186, 186, 192)

Deuteranopia (Green-blind)

#BDC0BE — rgb(189, 192, 190)

Tritanopia (Blue-blind)

#CBB9B7 — rgb(203, 185, 183)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(304, 30%, 72%);

text

color: hsl(304, 30%, 72%);

border

border: 2px solid hsl(304, 30%, 72%);

gradient light

background: linear-gradient(to right, hsl(304, 30%, 92%), hsl(304, 30%, 72%));

gradient dark

background: linear-gradient(to right, hsl(304, 30%, 72%), hsl(304, 30%, 52%))

hex

background-color: #CDA2CA;

tailwind

bg-[hsl(304,30%,72%)]

box shadow

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

css variable

--color-primary: hsl(304, 30%, 72%);

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

HEX: #CDA2CA | RGB: rgb(205, 162, 202) | CMYK: 0%, 21%, 1%, 20% | HSV: 304°, 21%, 80%. Copy any format from the conversion table above.

What colors go well with #CDA2CA?

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

As HSL: color: hsl(304, 30%, 72%); — As HEX: color: #CDA2CA; — As RGB: color: rgb(205, 162, 202); — Tailwind CSS: bg-[hsl(304,30%,72%)] — CSS variable: --color-primary: hsl(304, 30%, 72%);