HSL(308, 17%, 61%)

Purple — Purple color

Adjust Color

Color Information

Color Name

Purple

Color Family

Purple

Warm / Cool

🔴 Warm

Temperature

N/A

CSS Class

bg-[hsl(308,17%,61%)]

Color Conversions

Format Value CSS Usage
HSL hsl(308, 17%, 61%) color: hsl(308, 17%, 61%)
HEX #AC8BA8 color: #AC8BA8
RGB rgb(172, 139, 168) color: rgb(172, 139, 168)
CMYK cmyk(0%, 19%, 2%, 33%)
HSV hsv(307, 19%, 67%)
HWB hwb(307 54% 33%) color: hwb(307 54% 33%)
OKLCH oklch(0.6767 0.0567 330.23) color: oklch(0.6767 0.0567 330.23)
Lab lab(61.71 17.58 -10.54) color: lab(61.71 17.58 -10.54)
LCH lch(61.71 20.5 329.06) color: lch(61.71 20.5 329.06)

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.99:1
vs Black 7.01: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)

#9E9DA1 — rgb(158, 157, 161)

Deuteranopia (Green-blind)

#A0A29F — rgb(160, 162, 159)

Tritanopia (Blue-blind)

#AA9B9A — rgb(170, 155, 154)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(308, 17%, 61%);

text

color: hsl(308, 17%, 61%);

border

border: 2px solid hsl(308, 17%, 61%);

gradient light

background: linear-gradient(to right, hsl(308, 17%, 81%), hsl(308, 17%, 61%));

gradient dark

background: linear-gradient(to right, hsl(308, 17%, 61%), hsl(308, 17%, 41%))

hex

background-color: #AC8BA8;

tailwind

bg-[hsl(308,17%,61%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(308, 17%, 61%, 0.4);

css variable

--color-primary: hsl(308, 17%, 61%);

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(308, 17%, 61%)?

HEX: #AC8BA8 | RGB: rgb(172, 139, 168) | CMYK: 0%, 19%, 2%, 33% | HSV: 307°, 19%, 67%. Copy any format from the conversion table above.

What colors go well with #AC8BA8?

The complementary color is HSL(128, 17%, 61%). For a triadic harmony, use hues 308°, 68°, and 188°. For analogous combinations, try hues 278° and 338°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(308, 17%, 61%) in CSS?

As HSL: color: hsl(308, 17%, 61%); — As HEX: color: #AC8BA8; — As RGB: color: rgb(172, 139, 168); — Tailwind CSS: bg-[hsl(308,17%,61%)] — CSS variable: --color-primary: hsl(308, 17%, 61%);