HSL(291, 68%, 71%)

Purple — Purple color

Adjust Color

Color Information

Color Name

Purple

Color Family

Purple

Warm / Cool

🔵 Cool

Temperature

6500K

CSS Class

bg-[hsl(291,68%,71%)]

Color Conversions

Format Value CSS Usage
HSL hsl(291, 68%, 71%) color: hsl(291, 68%, 71%)
HEX #D883E7 color: #D883E7
RGB rgb(216, 131, 231) color: rgb(216, 131, 231)
CMYK cmyk(6%, 43%, 0%, 9%)
HSV hsv(291, 43%, 91%)
HWB hwb(291 52% 9%) color: hwb(291 52% 9%)
OKLCH oklch(0.735 0.165 321.43) color: oklch(0.735 0.165 321.43)
Lab lab(66.98 48.26 -37.38) color: lab(66.98 48.26 -37.38)
LCH lch(66.98 61.04 322.24) color: lch(66.98 61.04 322.24)

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.52:1
vs Black 8.32: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)

#B3B2CF — rgb(179, 178, 207)

Deuteranopia (Green-blind)

#B8BFC9 — rgb(184, 191, 201)

Tritanopia (Blue-blind)

#D4BCB8 — rgb(212, 188, 184)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(291, 68%, 71%);

text

color: hsl(291, 68%, 71%);

border

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

gradient light

background: linear-gradient(to right, hsl(291, 68%, 91%), hsl(291, 68%, 71%));

gradient dark

background: linear-gradient(to right, hsl(291, 68%, 71%), hsl(291, 68%, 51%))

hex

background-color: #D883E7;

tailwind

bg-[hsl(291,68%,71%)]

box shadow

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

css variable

--color-primary: hsl(291, 68%, 71%);

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, 68%, 71%)?

HEX: #D883E7 | RGB: rgb(216, 131, 231) | CMYK: 6%, 43%, 0%, 9% | HSV: 291°, 43%, 91%. Copy any format from the conversion table above.

What colors go well with #D883E7?

The complementary color is HSL(111, 68%, 71%). 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, 68%, 71%) in CSS?

As HSL: color: hsl(291, 68%, 71%); — As HEX: color: #D883E7; — As RGB: color: rgb(216, 131, 231); — Tailwind CSS: bg-[hsl(291,68%,71%)] — CSS variable: --color-primary: hsl(291, 68%, 71%);