#AC20A8#AC20A8

#AC20A8 is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 53.1% C 0.222 H 329.5°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#AC20A8
RGBrgb(172, 32, 168)
HSLhsl(302, 69%, 40%)
HSVhsv(302, 81%, 67%)
CMYKcmyk(0%, 81.4%, 2.3%, 32.5%)
CIE-LABlab(42.20, 67.75, -40.68)
CIE-LCHlch(42.20, 79.02, 329.02°)
OKLaboklab(53.14% 0.1911 -0.1126)
OKLCHoklch(53.14% 0.222 329.5)
XYZxyz(24.5975, 12.6328, 38.1811)
Luminance0.1263 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC20A8 #20AC24
analogous
#6A20AC #AC20A8 #AC2062
triadic
#AC20A8 #A8AC20 #20A8AC
tetradic
#AC20A8 #AC6A20 #20AC24 #2062AC
square
#AC20A8 #AC6A20 #20AC24 #2062AC
split-complementary
#AC20A8 #62AC20 #20AC6A
monochromatic
#450D43 #781676 #AC20A8 #D931D4 #E264DF

Accessibility & contrast

On white

5.96
#AC20A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AC20A8
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC20A8#FFFFFF#000000##FFFFFF
##AC20A81.005.963.535.96
#FFFFFF5.961.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AB
Deuteranopia (green-blind)
#4D6AA5
Tritanopia (blue-blind)
#B23865
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ac20a8;
/* rgb */ color: rgb(172, 32, 168);
/* oklch */ color: oklch(53.1% 0.222 329.5);
Tailwind
colors: {
  custom: {
    50: '#c96fc2',
    500: '#ac20a8',
    950: '#000000',
  },
}
SCSS
$custom: #ac20a8;
$custom-light: #c96fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#ac20a8",
  "rgb": {
    "r": 172,
    "g": 32,
    "b": 168
  },
  "hsl": {
    "h": 301.714,
    "s": 68.627,
    "l": 40
  },
  "oklch": {
    "l": 0.53137,
    "c": 0.22183,
    "h": 329.5
  },
  "luminance": 0.12631
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AC20A8

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

Preview Lab → · Contrast checker → · Palette generator →

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