#AC20A4#AC20A4

#AC20A4 is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.9% C 0.219 H 330.8°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#AC20A4
RGBrgb(172, 32, 164)
HSLhsl(303, 69%, 40%)
HSVhsv(303, 81%, 67%)
CMYKcmyk(0%, 81.4%, 4.7%, 32.5%)
CIE-LABlab(41.98, 67.13, -38.65)
CIE-LCHlch(41.98, 77.46, 330.07°)
OKLaboklab(52.9% 0.1912 -0.1068)
OKLCHoklch(52.9% 0.219 330.8)
XYZxyz(24.2306, 12.4860, 36.2486)
Luminance0.1248 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC20A4 #20AC28
analogous
#6E20AC #AC20A4 #AC205E
triadic
#AC20A4 #A4AC20 #20A4AC
tetradic
#AC20A4 #AC6E20 #20AC28 #205EAC
square
#AC20A4 #AC6E20 #20AC28 #205EAC
split-complementary
#AC20A4 #5EAC20 #20AC6E
monochromatic
#450D42 #781673 #AC20A4 #D931CF #E264DB

Accessibility & contrast

On white

6.01
#AC20A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#AC20A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC20A4
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC20A4#FFFFFF#000000##FFFFFF
##AC20A41.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0757A7
Deuteranopia (green-blind)
#506AA1
Tritanopia (blue-blind)
#B33563
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ac20a4;
/* rgb */ color: rgb(172, 32, 164);
/* oklch */ color: oklch(52.9% 0.219 330.8);
Tailwind
colors: {
  custom: {
    50: '#c96fbf',
    500: '#ac20a4',
    950: '#000000',
  },
}
SCSS
$custom: #ac20a4;
$custom-light: #c96fbf;
$custom-dark: #000000;
JSON
{
  "hex": "#ac20a4",
  "rgb": {
    "r": 172,
    "g": 32,
    "b": 164
  },
  "hsl": {
    "h": 303.429,
    "s": 68.627,
    "l": 40
  },
  "oklch": {
    "l": 0.52903,
    "c": 0.21899,
    "h": 330.8
  },
  "luminance": 0.12484
}

Semantic roles & 50–950 ramp

primary
#AC20A4
secondary
#60C766
accent
#EB463C
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140812
muted
#827B81

Preview Lab

Preview with #AC20A4

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

Preview Lab → · Contrast checker → · Palette generator →

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