HSL(291, 72%, 72%)

Purple — Purple color

Adjust Color

Color Information

Color Name

Purple

Color Family

Purple

Warm / Cool

🔵 Cool

Temperature

6500K

CSS Class

bg-[hsl(291,72%,72%)]

Color Conversions

Format Value CSS Usage
HSL hsl(291, 72%, 72%) color: hsl(291, 72%, 72%)
HEX #DC84EB color: #DC84EB
RGB rgb(220, 132, 235) color: rgb(220, 132, 235)
CMYK cmyk(6%, 44%, 0%, 8%)
HSV hsv(291, 44%, 92%)
HWB hwb(291 52% 8%) color: hwb(291 52% 8%)
OKLCH oklch(0.7428 0.1695 321.61) color: oklch(0.7428 0.1695 321.61)
Lab lab(67.81 49.66 -38.25) color: lab(67.81 49.66 -38.25)
LCH lch(67.81 62.68 322.4) color: lch(67.81 62.68 322.4)

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

#B6B5D2 — rgb(182, 181, 210)

Deuteranopia (Green-blind)

#BBC2CC — rgb(187, 194, 204)

Tritanopia (Blue-blind)

#D8BEBA — rgb(216, 190, 186)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(291, 72%, 72%);

text

color: hsl(291, 72%, 72%);

border

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

gradient light

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

gradient dark

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

hex

background-color: #DC84EB;

tailwind

bg-[hsl(291,72%,72%)]

box shadow

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

css variable

--color-primary: hsl(291, 72%, 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(291, 72%, 72%)?

HEX: #DC84EB | RGB: rgb(220, 132, 235) | CMYK: 6%, 44%, 0%, 8% | HSV: 291°, 44%, 92%. Copy any format from the conversion table above.

What colors go well with #DC84EB?

The complementary color is HSL(111, 72%, 72%). For a triadic harmony, use hues 291°, 51°, and 171°. For analogous combinations, try hues 261° and 321°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(291, 72%, 72%) in CSS?

As HSL: color: hsl(291, 72%, 72%); — As HEX: color: #DC84EB; — As RGB: color: rgb(220, 132, 235); — Tailwind CSS: bg-[hsl(291,72%,72%)] — CSS variable: --color-primary: hsl(291, 72%, 72%);