HSL(292, 64%, 66%)

Purple — Purple color

Adjust Color

Color Information

Color Name

Purple

Color Family

Purple

Warm / Cool

🔵 Cool

Temperature

6500K

CSS Class

bg-[hsl(292,64%,66%)]

Color Conversions

Format Value CSS Usage
HSL hsl(292, 64%, 66%) color: hsl(292, 64%, 66%)
HEX #D171E0 color: #D171E0
RGB rgb(209, 113, 224) color: rgb(209, 113, 224)
CMYK cmyk(7%, 50%, 0%, 12%)
HSV hsv(292, 50%, 88%)
HWB hwb(292 44% 12%) color: hwb(292 44% 12%)
OKLCH oklch(0.6974 0.1837 322.06) color: oklch(0.6974 0.1837 322.06)
Lab lab(62.3 54.09 -40.88) color: lab(62.3 54.09 -40.88)
LCH lch(62.3 67.8 322.92) color: lch(62.3 67.8 322.92)

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.94:1
vs Black 7.15: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)

#A7A7C5 — rgb(167, 167, 197)

Deuteranopia (Green-blind)

#ADB4BF — rgb(173, 180, 191)

Tritanopia (Blue-blind)

#CCB0AB — rgb(204, 176, 171)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(292, 64%, 66%);

text

color: hsl(292, 64%, 66%);

border

border: 2px solid hsl(292, 64%, 66%);

gradient light

background: linear-gradient(to right, hsl(292, 64%, 86%), hsl(292, 64%, 66%));

gradient dark

background: linear-gradient(to right, hsl(292, 64%, 66%), hsl(292, 64%, 46%))

hex

background-color: #D171E0;

tailwind

bg-[hsl(292,64%,66%)]

box shadow

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

css variable

--color-primary: hsl(292, 64%, 66%);

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, 64%, 66%)?

HEX: #D171E0 | RGB: rgb(209, 113, 224) | CMYK: 7%, 50%, 0%, 12% | HSV: 292°, 50%, 88%. Copy any format from the conversion table above.

What colors go well with #D171E0?

The complementary color is HSL(112, 64%, 66%). 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, 64%, 66%) in CSS?

As HSL: color: hsl(292, 64%, 66%); — As HEX: color: #D171E0; — As RGB: color: rgb(209, 113, 224); — Tailwind CSS: bg-[hsl(292,64%,66%)] — CSS variable: --color-primary: hsl(292, 64%, 66%);