HSL(297, 55%, 70%)

Purple — Purple color

Adjust Color

Color Information

Color Name

Purple

Color Family

Purple

Warm / Cool

🔵 Cool

Temperature

6500K

CSS Class

bg-[hsl(297,55%,70%)]

Color Conversions

Format Value CSS Usage
HSL hsl(297, 55%, 70%) color: hsl(297, 55%, 70%)
HEX #D888DD color: #D888DD
RGB rgb(216, 136, 221) color: rgb(216, 136, 221)
CMYK cmyk(2%, 38%, 0%, 13%)
HSV hsv(296, 38%, 87%)
HWB hwb(296 54% 13%) color: hwb(296 54% 13%)
OKLCH oklch(0.7383 0.1465 324.85) color: oklch(0.7383 0.1465 324.85)
Lab lab(67.6 43.76 -30.89) color: lab(67.6 43.76 -30.89)
LCH lch(67.6 53.56 324.78) color: lch(67.6 53.56 324.78)

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.47:1
vs Black 8.49: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)

#B5B5C8 — rgb(181, 181, 200)

Deuteranopia (Green-blind)

#BAC0C4 — rgb(186, 192, 196)

Tritanopia (Blue-blind)

#D4B8B5 — rgb(212, 184, 181)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(297, 55%, 70%);

text

color: hsl(297, 55%, 70%);

border

border: 2px solid hsl(297, 55%, 70%);

gradient light

background: linear-gradient(to right, hsl(297, 55%, 90%), hsl(297, 55%, 70%));

gradient dark

background: linear-gradient(to right, hsl(297, 55%, 70%), hsl(297, 55%, 50%))

hex

background-color: #D888DD;

tailwind

bg-[hsl(297,55%,70%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(297, 55%, 70%, 0.4);

css variable

--color-primary: hsl(297, 55%, 70%);

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(297, 55%, 70%)?

HEX: #D888DD | RGB: rgb(216, 136, 221) | CMYK: 2%, 38%, 0%, 13% | HSV: 296°, 38%, 87%. Copy any format from the conversion table above.

What colors go well with #D888DD?

The complementary color is HSL(117, 55%, 70%). For a triadic harmony, use hues 297°, 57°, and 177°. For analogous combinations, try hues 267° and 327°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(297, 55%, 70%) in CSS?

As HSL: color: hsl(297, 55%, 70%); — As HEX: color: #D888DD; — As RGB: color: rgb(216, 136, 221); — Tailwind CSS: bg-[hsl(297,55%,70%)] — CSS variable: --color-primary: hsl(297, 55%, 70%);