#AC32A1#AC32A1

#AC32A1 is a mid, vivid purple. Relative luminance 0.136; OKLCH L 54.1% C 0.199 H 331.9°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#AC32A1
RGBrgb(172, 50, 161)
HSLhsl(305, 55%, 44%)
HSVhsv(305, 71%, 67%)
CMYKcmyk(0%, 70.9%, 6.4%, 32.5%)
CIE-LABlab(43.69, 61.29, -34.15)
CIE-LCHlch(43.69, 70.16, 330.88°)
OKLaboklab(54.08% 0.1756 -0.0938)
OKLCHoklch(54.08% 0.199 331.9)
XYZxyz(24.5869, 13.6270, 35.0466)
Luminance0.1363 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC32A1 #32AC3D
analogous
#7A32AC #AC32A1 #AC3264
triadic
#AC32A1 #A1AC32 #32A1AC
tetradic
#AC32A1 #AC7A32 #32AC3D #3264AC
square
#AC32A1 #AC7A32 #32AC3D #3264AC
split-complementary
#AC32A1 #64AC32 #32AC7A
monochromatic
#4D1648 #7D2475 #AC32A1 #CC4FC1 #DA7FD1

Accessibility & contrast

On white

5.64
#AC32A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#AC32A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC32A1
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC32A1#FFFFFF#000000##FFFFFF
##AC32A11.005.643.735.64
#FFFFFF5.641.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5CA4
Deuteranopia (green-blind)
#586D9E
Tritanopia (blue-blind)
#B33F66
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ac32a1;
/* rgb */ color: rgb(172, 50, 161);
/* oklch */ color: oklch(54.1% 0.199 331.9);
Tailwind
colors: {
  custom: {
    50: '#c875bd',
    500: '#ac32a1',
    950: '#000000',
  },
}
SCSS
$custom: #ac32a1;
$custom-light: #c875bd;
$custom-dark: #000000;
JSON
{
  "hex": "#ac32a1",
  "rgb": {
    "r": 172,
    "g": 50,
    "b": 161
  },
  "hsl": {
    "h": 305.41,
    "s": 54.955,
    "l": 43.529
  },
  "oklch": {
    "l": 0.54079,
    "c": 0.19907,
    "h": 331.9
  },
  "luminance": 0.13625
}

Semantic roles & 50–950 ramp

primary
#AC32A1
secondary
#77C37E
accent
#DE574A
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AC32A1

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#AC32A1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva