HSL(310, 52%, 69%)

Purple — Purple color

Adjust Color

Color Information

Color Name

Purple

Color Family

Purple

Warm / Cool

🔴 Warm

Temperature

6500K

CSS Class

bg-[hsl(310,52%,69%)]

Color Conversions

Format Value CSS Usage
HSL hsl(310, 52%, 69%) color: hsl(310, 52%, 69%)
HEX #D987CB color: #D987CB
RGB rgb(217, 135, 203) color: rgb(217, 135, 203)
CMYK cmyk(0%, 38%, 6%, 15%)
HSV hsv(310, 38%, 85%)
HWB hwb(310 53% 15%) color: hwb(310 53% 15%)
OKLCH oklch(0.7305 0.1322 333.26) color: oklch(0.7305 0.1322 333.26)
Lab lab(66.82 41.35 -22.07) color: lab(66.82 41.35 -22.07)
LCH lch(66.82 46.87 331.91) color: lch(66.82 46.87 331.91)

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.54:1
vs Black 8.28: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)

#B5B5BB — rgb(181, 181, 187)

Deuteranopia (Green-blind)

#BAC0B7 — rgb(186, 192, 183)

Tritanopia (Blue-blind)

#D5AEAB — rgb(213, 174, 171)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(310, 52%, 69%);

text

color: hsl(310, 52%, 69%);

border

border: 2px solid hsl(310, 52%, 69%);

gradient light

background: linear-gradient(to right, hsl(310, 52%, 89%), hsl(310, 52%, 69%));

gradient dark

background: linear-gradient(to right, hsl(310, 52%, 69%), hsl(310, 52%, 49%))

hex

background-color: #D987CB;

tailwind

bg-[hsl(310,52%,69%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(310, 52%, 69%, 0.4);

css variable

--color-primary: hsl(310, 52%, 69%);

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(310, 52%, 69%)?

HEX: #D987CB | RGB: rgb(217, 135, 203) | CMYK: 0%, 38%, 6%, 15% | HSV: 310°, 38%, 85%. Copy any format from the conversion table above.

What colors go well with #D987CB?

The complementary color is HSL(130, 52%, 69%). For a triadic harmony, use hues 310°, 70°, and 190°. For analogous combinations, try hues 280° and 340°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(310, 52%, 69%) in CSS?

As HSL: color: hsl(310, 52%, 69%); — As HEX: color: #D987CB; — As RGB: color: rgb(217, 135, 203); — Tailwind CSS: bg-[hsl(310,52%,69%)] — CSS variable: --color-primary: hsl(310, 52%, 69%);