HSL(299, 55%, 68%)

Purple — Purple color

Adjust Color

Color Information

Color Name

Purple

Color Family

Purple

Warm / Cool

🔵 Cool

Temperature

6500K

CSS Class

bg-[hsl(299,55%,68%)]

Color Conversions

Format Value CSS Usage
HSL hsl(299, 55%, 68%) color: hsl(299, 55%, 68%)
HEX #D981DA color: #D981DA
RGB rgb(217, 129, 218) color: rgb(217, 129, 218)
CMYK cmyk(0%, 41%, 0%, 15%)
HSV hsv(299, 41%, 85%)
HWB hwb(299 50% 15%) color: hwb(299 50% 15%)
OKLCH oklch(0.7273 0.1562 326.64) color: oklch(0.7273 0.1562 326.64)
Lab lab(66.15 47.15 -31.46) color: lab(66.15 47.15 -31.46)
LCH lch(66.15 56.68 326.29) color: lch(66.15 56.68 326.29)

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

#B3B2C4 — rgb(179, 178, 196)

Deuteranopia (Green-blind)

#B8BFBF — rgb(184, 191, 191)

Tritanopia (Blue-blind)

#D5B3B0 — rgb(213, 179, 176)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(299, 55%, 68%);

text

color: hsl(299, 55%, 68%);

border

border: 2px solid hsl(299, 55%, 68%);

gradient light

background: linear-gradient(to right, hsl(299, 55%, 88%), hsl(299, 55%, 68%));

gradient dark

background: linear-gradient(to right, hsl(299, 55%, 68%), hsl(299, 55%, 48%))

hex

background-color: #D981DA;

tailwind

bg-[hsl(299,55%,68%)]

box shadow

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

css variable

--color-primary: hsl(299, 55%, 68%);

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(299, 55%, 68%)?

HEX: #D981DA | RGB: rgb(217, 129, 218) | CMYK: 0%, 41%, 0%, 15% | HSV: 299°, 41%, 85%. Copy any format from the conversion table above.

What colors go well with #D981DA?

The complementary color is HSL(119, 55%, 68%). For a triadic harmony, use hues 299°, 59°, and 179°. For analogous combinations, try hues 269° and 329°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(299, 55%, 68%) in CSS?

As HSL: color: hsl(299, 55%, 68%); — As HEX: color: #D981DA; — As RGB: color: rgb(217, 129, 218); — Tailwind CSS: bg-[hsl(299,55%,68%)] — CSS variable: --color-primary: hsl(299, 55%, 68%);