HSL(292, 20%, 82%)

Purple — Purple color

Adjust Color

Color Information

Color Name

Purple

Color Family

Purple

Warm / Cool

🔵 Cool

Temperature

6500K

CSS Class

bg-[hsl(292,20%,82%)]

Color Conversions

Format Value CSS Usage
HSL hsl(292, 20%, 82%) color: hsl(292, 20%, 82%)
HEX #D8C8DA color: #D8C8DA
RGB rgb(216, 200, 218) color: rgb(216, 200, 218)
CMYK cmyk(1%, 8%, 0%, 15%)
HSV hsv(293, 8%, 85%)
HWB hwb(293 78% 15%) color: hwb(293 78% 15%)
OKLCH oklch(0.8513 0.0301 322.41) color: oklch(0.8513 0.0301 322.41)
Lab lab(82.36 8.78 -6.91) color: lab(82.36 8.78 -6.91)
LCH lch(82.36 11.17 321.8) color: lch(82.36 11.17 321.8)

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.59:1
vs Black 13.19: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)

#D1D1D6 — rgb(209, 209, 214)

Deuteranopia (Green-blind)

#D2D3D5 — rgb(210, 211, 213)

Tritanopia (Blue-blind)

#D7D2D1 — rgb(215, 210, 209)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(292, 20%, 82%);

text

color: hsl(292, 20%, 82%);

border

border: 2px solid hsl(292, 20%, 82%);

gradient light

background: linear-gradient(to right, hsl(292, 20%, 100%), hsl(292, 20%, 82%));

gradient dark

background: linear-gradient(to right, hsl(292, 20%, 82%), hsl(292, 20%, 62%))

hex

background-color: #D8C8DA;

tailwind

bg-[hsl(292,20%,82%)]

box shadow

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

css variable

--color-primary: hsl(292, 20%, 82%);

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(292, 20%, 82%)?

HEX: #D8C8DA | RGB: rgb(216, 200, 218) | CMYK: 1%, 8%, 0%, 15% | HSV: 293°, 8%, 85%. Copy any format from the conversion table above.

What colors go well with #D8C8DA?

The complementary color is HSL(112, 20%, 82%). For a triadic harmony, use hues 292°, 52°, and 172°. For analogous combinations, try hues 262° and 322°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(292, 20%, 82%) in CSS?

As HSL: color: hsl(292, 20%, 82%); — As HEX: color: #D8C8DA; — As RGB: color: rgb(216, 200, 218); — Tailwind CSS: bg-[hsl(292,20%,82%)] — CSS variable: --color-primary: hsl(292, 20%, 82%);