HSL(309, 20%, 81%)

Purple — Purple color

Adjust Color

Color Information

Color Name

Purple

Color Family

Purple

Warm / Cool

🔴 Warm

Temperature

6500K

CSS Class

bg-[hsl(309,20%,81%)]

Color Conversions

Format Value CSS Usage
HSL hsl(309, 20%, 81%) color: hsl(309, 20%, 81%)
HEX #D8C5D5 color: #D8C5D5
RGB rgb(216, 197, 213) color: rgb(216, 197, 213)
CMYK cmyk(0%, 9%, 1%, 15%)
HSV hsv(309, 9%, 85%)
HWB hwb(309 77% 15%) color: hwb(309 77% 15%)
OKLCH oklch(0.8439 0.0302 330.98) color: oklch(0.8439 0.0302 330.98)
Lab lab(81.48 9.46 -5.54) color: lab(81.48 9.46 -5.54)
LCH lch(81.48 10.96 329.65) color: lch(81.48 10.96 329.65)

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 1.63:1
vs Black 12.87: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)

#D0D0D1 — rgb(208, 208, 209)

Deuteranopia (Green-blind)

#D1D2D0 — rgb(209, 210, 208)

Tritanopia (Blue-blind)

#D7CECD — rgb(215, 206, 205)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(309, 20%, 81%);

text

color: hsl(309, 20%, 81%);

border

border: 2px solid hsl(309, 20%, 81%);

gradient light

background: linear-gradient(to right, hsl(309, 20%, 100%), hsl(309, 20%, 81%));

gradient dark

background: linear-gradient(to right, hsl(309, 20%, 81%), hsl(309, 20%, 61%))

hex

background-color: #D8C5D5;

tailwind

bg-[hsl(309,20%,81%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(309, 20%, 81%, 0.4);

css variable

--color-primary: hsl(309, 20%, 81%);

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(309, 20%, 81%)?

HEX: #D8C5D5 | RGB: rgb(216, 197, 213) | CMYK: 0%, 9%, 1%, 15% | HSV: 309°, 9%, 85%. Copy any format from the conversion table above.

What colors go well with #D8C5D5?

The complementary color is HSL(129, 20%, 81%). For a triadic harmony, use hues 309°, 69°, and 189°. For analogous combinations, try hues 279° and 339°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(309, 20%, 81%) in CSS?

As HSL: color: hsl(309, 20%, 81%); — As HEX: color: #D8C5D5; — As RGB: color: rgb(216, 197, 213); — Tailwind CSS: bg-[hsl(309,20%,81%)] — CSS variable: --color-primary: hsl(309, 20%, 81%);