HSL(308, 20%, 78%)

Purple — Purple color

Adjust Color

Color Information

Color Name

Purple

Color Family

Purple

Warm / Cool

🔴 Warm

Temperature

6500K

CSS Class

bg-[hsl(308,20%,78%)]

Color Conversions

Format Value CSS Usage
HSL hsl(308, 20%, 78%) color: hsl(308, 20%, 78%)
HEX #D2BCCF color: #D2BCCF
RGB rgb(210, 188, 207) color: rgb(210, 188, 207)
CMYK cmyk(0%, 10%, 1%, 18%)
HSV hsv(308, 10%, 82%)
HWB hwb(308 74% 18%) color: hwb(308 74% 18%)
OKLCH oklch(0.8194 0.0357 330.31) color: oklch(0.8194 0.0357 330.31)
Lab lab(78.56 11.12 -6.68) color: lab(78.56 11.12 -6.68)
LCH lch(78.56 12.97 329.01) color: lch(78.56 12.97 329.01)

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.77:1
vs Black 11.83: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)

#C8C8CA — rgb(200, 200, 202)

Deuteranopia (Green-blind)

#CACBC9 — rgb(202, 203, 201)

Tritanopia (Blue-blind)

#D1C7C6 — rgb(209, 199, 198)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(308, 20%, 78%);

text

color: hsl(308, 20%, 78%);

border

border: 2px solid hsl(308, 20%, 78%);

gradient light

background: linear-gradient(to right, hsl(308, 20%, 98%), hsl(308, 20%, 78%));

gradient dark

background: linear-gradient(to right, hsl(308, 20%, 78%), hsl(308, 20%, 58%))

hex

background-color: #D2BCCF;

tailwind

bg-[hsl(308,20%,78%)]

box shadow

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

css variable

--color-primary: hsl(308, 20%, 78%);

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(308, 20%, 78%)?

HEX: #D2BCCF | RGB: rgb(210, 188, 207) | CMYK: 0%, 10%, 1%, 18% | HSV: 308°, 10%, 82%. Copy any format from the conversion table above.

What colors go well with #D2BCCF?

The complementary color is HSL(128, 20%, 78%). For a triadic harmony, use hues 308°, 68°, and 188°. For analogous combinations, try hues 278° and 338°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(308, 20%, 78%) in CSS?

As HSL: color: hsl(308, 20%, 78%); — As HEX: color: #D2BCCF; — As RGB: color: rgb(210, 188, 207); — Tailwind CSS: bg-[hsl(308,20%,78%)] — CSS variable: --color-primary: hsl(308, 20%, 78%);