#AC32B1#AC32B1

#AC32B1 is a mid, highly saturated purple. Relative luminance 0.142; OKLCH L 55.0% C 0.212 H 326.3°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#AC32B1
RGBrgb(172, 50, 177)
HSLhsl(298, 56%, 45%)
HSVhsv(298, 72%, 69%)
CMYKcmyk(2.8%, 71.8%, 0%, 30.6%)
CIE-LABlab(44.56, 63.92, -42.28)
CIE-LCHlch(44.56, 76.64, 326.52°)
OKLaboklab(54.98% 0.1759 -0.1174)
OKLCHoklch(54.98% 0.212 326.3)
XYZxyz(26.0892, 14.2279, 42.9586)
Luminance0.1423 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC32B1 #37B132
analogous
#6D32B1 #AC32B1 #B13277
triadic
#AC32B1 #B1AC32 #32B1AC
tetradic
#AC32B1 #B16D32 #37B132 #3277B1
square
#AC32B1 #B16D32 #37B132 #3277B1
split-complementary
#AC32B1 #77B132 #32B16D
monochromatic
#4F1752 #7E2581 #AC32B1 #C952CE #D882DC

Accessibility & contrast

On white

5.46
#AC32B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#AC32B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC32B1
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC32B1#FFFFFF#000000##FFFFFF
##AC32B11.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1360B5
Deuteranopia (green-blind)
#4F6FAE
Tritanopia (blue-blind)
#B1476F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ac32b1;
/* rgb */ color: rgb(172, 50, 177);
/* oklch */ color: oklch(55.0% 0.212 326.3);
Tailwind
colors: {
  custom: {
    50: '#c876c9',
    500: '#ac32b1',
    950: '#000000',
  },
}
SCSS
$custom: #ac32b1;
$custom-light: #c876c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ac32b1",
  "rgb": {
    "r": 172,
    "g": 50,
    "b": 177
  },
  "hsl": {
    "h": 297.638,
    "s": 55.947,
    "l": 44.51
  },
  "oklch": {
    "l": 0.5498,
    "c": 0.21152,
    "h": 326.3
  },
  "luminance": 0.14226
}

Semantic roles & 50–950 ramp

primary
#AC32B1
secondary
#7DC57A
accent
#DF494E
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AC32B1

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

Preview Lab → · Contrast checker → · Palette generator →

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