HSL(293, 54%, 48%)

Purple — Purple color

Adjust Color

Color Information

Color Name

Purple

Color Family

Purple

Warm / Cool

🔵 Cool

Temperature

6500K

CSS Class

bg-[hsl(293,54%,48%)]

Color Conversions

Format Value CSS Usage
HSL hsl(293, 54%, 48%) color: hsl(293, 54%, 48%)
HEX #AD38BC color: #AD38BC
RGB rgb(173, 56, 188) color: rgb(173, 56, 188)
CMYK cmyk(8%, 70%, 0%, 26%)
HSV hsv(293, 70%, 74%)
HWB hwb(293 22% 26%) color: hwb(293 22% 26%)
OKLCH oklch(0.5632 0.2141 322.94) color: oklch(0.5632 0.2141 322.94)
Lab lab(46.1 63.91 -46.26) color: lab(46.1 63.91 -46.26)
LCH lch(46.1 78.9 324.1) color: lch(46.1 78.9 324.1)

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 5.16:1
vs Black 4.07:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#7A799C — rgb(122, 121, 156)

Deuteranopia (Green-blind)

#818A94 — rgb(129, 138, 148)

Tritanopia (Blue-blind)

#A7837D — rgb(167, 131, 125)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(293, 54%, 48%);

text

color: hsl(293, 54%, 48%);

border

border: 2px solid hsl(293, 54%, 48%);

gradient light

background: linear-gradient(to right, hsl(293, 54%, 68%), hsl(293, 54%, 48%));

gradient dark

background: linear-gradient(to right, hsl(293, 54%, 48%), hsl(293, 54%, 28%))

hex

background-color: #AD38BC;

tailwind

bg-[hsl(293,54%,48%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(293, 54%, 48%, 0.4);

css variable

--color-primary: hsl(293, 54%, 48%);

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(293, 54%, 48%)?

HEX: #AD38BC | RGB: rgb(173, 56, 188) | CMYK: 8%, 70%, 0%, 26% | HSV: 293°, 70%, 74%. Copy any format from the conversion table above.

What colors go well with #AD38BC?

The complementary color is HSL(113, 54%, 48%). For a triadic harmony, use hues 293°, 53°, and 173°. For analogous combinations, try hues 263° and 323°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(293, 54%, 48%) in CSS?

As HSL: color: hsl(293, 54%, 48%); — As HEX: color: #AD38BC; — As RGB: color: rgb(173, 56, 188); — Tailwind CSS: bg-[hsl(293,54%,48%)] — CSS variable: --color-primary: hsl(293, 54%, 48%);