#AC20A9#AC20A9

#AC20A9 is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.2% C 0.223 H 329.2°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#AC20A9
RGBrgb(172, 32, 169)
HSLhsl(301, 69%, 40%)
HSVhsv(301, 81%, 67%)
CMYKcmyk(0%, 81.4%, 1.7%, 32.5%)
CIE-LABlab(42.26, 67.90, -41.19)
CIE-LCHlch(42.26, 79.42, 328.76°)
OKLaboklab(53.2% 0.1911 -0.1141)
OKLCHoklch(53.2% 0.223 329.2)
XYZxyz(24.6910, 12.6702, 38.6736)
Luminance0.1267 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC20A9 #20AC23
analogous
#6920AC #AC20A9 #AC2063
triadic
#AC20A9 #A9AC20 #20A9AC
tetradic
#AC20A9 #AC6920 #20AC23 #2063AC
square
#AC20A9 #AC6920 #20AC23 #2063AC
split-complementary
#AC20A9 #63AC20 #20AC69
monochromatic
#450D44 #781676 #AC20A9 #D931D5 #E264DF

Accessibility & contrast

On white

5.94
#AC20A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#AC20A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC20A9
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC20A9#FFFFFF#000000##FFFFFF
##AC20A91.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AC
Deuteranopia (green-blind)
#4D6AA6
Tritanopia (blue-blind)
#B23866
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ac20a9;
/* rgb */ color: rgb(172, 32, 169);
/* oklch */ color: oklch(53.2% 0.223 329.2);
Tailwind
colors: {
  custom: {
    50: '#c96fc3',
    500: '#ac20a9',
    950: '#000000',
  },
}
SCSS
$custom: #ac20a9;
$custom-light: #c96fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#ac20a9",
  "rgb": {
    "r": 172,
    "g": 32,
    "b": 169
  },
  "hsl": {
    "h": 301.286,
    "s": 68.627,
    "l": 40
  },
  "oklch": {
    "l": 0.53196,
    "c": 0.22256,
    "h": 329.2
  },
  "luminance": 0.12668
}

Semantic roles & 50–950 ramp

primary
#AC20A9
secondary
#60C763
accent
#EB403C
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140812
muted
#827B81

Preview Lab

Preview with #AC20A9

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

Preview Lab → · Contrast checker → · Palette generator →

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