HSL(294, 29%, 52%)

Purple — Purple color

Adjust Color

Color Information

Color Name

Purple

Color Family

Purple

Warm / Cool

🔵 Cool

Temperature

6500K

CSS Class

bg-[hsl(294,29%,52%)]

Color Conversions

Format Value CSS Usage
HSL hsl(294, 29%, 52%) color: hsl(294, 29%, 52%)
HEX #A161A8 color: #A161A8
RGB rgb(161, 97, 168) color: rgb(161, 97, 168)
CMYK cmyk(4%, 42%, 0%, 34%)
HSV hsv(294, 42%, 66%)
HWB hwb(294 38% 34%) color: hwb(294 38% 34%)
OKLCH oklch(0.5897 0.1267 323.42) color: oklch(0.5897 0.1267 323.42)
Lab lab(50.63 37.52 -27.54) color: lab(50.63 37.52 -27.54)
LCH lch(50.63 46.54 323.72) color: lch(50.63 46.54 323.72)

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 4.38:1
vs Black 4.79:1

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: black

Color Blindness Simulation

Protanopia (Red-blind)

#858597 — rgb(133, 133, 151)

Deuteranopia (Green-blind)

#898E93 — rgb(137, 142, 147)

Tritanopia (Blue-blind)

#9E8986 — rgb(158, 137, 134)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(294, 29%, 52%);

text

color: hsl(294, 29%, 52%);

border

border: 2px solid hsl(294, 29%, 52%);

gradient light

background: linear-gradient(to right, hsl(294, 29%, 72%), hsl(294, 29%, 52%));

gradient dark

background: linear-gradient(to right, hsl(294, 29%, 52%), hsl(294, 29%, 32%))

hex

background-color: #A161A8;

tailwind

bg-[hsl(294,29%,52%)]

box shadow

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

css variable

--color-primary: hsl(294, 29%, 52%);

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(294, 29%, 52%)?

HEX: #A161A8 | RGB: rgb(161, 97, 168) | CMYK: 4%, 42%, 0%, 34% | HSV: 294°, 42%, 66%. Copy any format from the conversion table above.

What colors go well with #A161A8?

The complementary color is HSL(114, 29%, 52%). For a triadic harmony, use hues 294°, 54°, and 174°. For analogous combinations, try hues 264° and 324°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(294, 29%, 52%) in CSS?

As HSL: color: hsl(294, 29%, 52%); — As HEX: color: #A161A8; — As RGB: color: rgb(161, 97, 168); — Tailwind CSS: bg-[hsl(294,29%,52%)] — CSS variable: --color-primary: hsl(294, 29%, 52%);