#AC20A0#AC20A0

#AC20A0 is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.7% C 0.216 H 332.2°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#AC20A0
RGBrgb(172, 32, 160)
HSLhsl(305, 69%, 40%)
HSVhsv(305, 81%, 67%)
CMYKcmyk(0%, 81.4%, 7%, 32.5%)
CIE-LABlab(41.76, 66.53, -36.60)
CIE-LCHlch(41.76, 75.93, 331.18°)
OKLaboklab(52.68% 0.1912 -0.1008)
OKLCHoklch(52.68% 0.216 332.2)
XYZxyz(23.8750, 12.3438, 34.3761)
Luminance0.1234 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC20A0 #20AC2C
analogous
#7220AC #AC20A0 #AC205A
triadic
#AC20A0 #A0AC20 #20A0AC
tetradic
#AC20A0 #AC7220 #20AC2C #205AAC
square
#AC20A0 #AC7220 #20AC2C #205AAC
split-complementary
#AC20A0 #5AAC20 #20AC72
monochromatic
#450D40 #781670 #AC20A0 #D931CA #E264D7

Accessibility & contrast

On white

6.05
#AC20A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#AC20A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC20A0
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC20A0#FFFFFF#000000##FFFFFF
##AC20A01.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1256A3
Deuteranopia (green-blind)
#52699D
Tritanopia (blue-blind)
#B43361
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ac20a0;
/* rgb */ color: rgb(172, 32, 160);
/* oklch */ color: oklch(52.7% 0.216 332.2);
Tailwind
colors: {
  custom: {
    50: '#c96ebc',
    500: '#ac20a0',
    950: '#000000',
  },
}
SCSS
$custom: #ac20a0;
$custom-light: #c96ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#ac20a0",
  "rgb": {
    "r": 172,
    "g": 32,
    "b": 160
  },
  "hsl": {
    "h": 305.143,
    "s": 68.627,
    "l": 40
  },
  "oklch": {
    "l": 0.52675,
    "c": 0.21616,
    "h": 332.2
  },
  "luminance": 0.12342
}

Semantic roles & 50–950 ramp

primary
#AC20A0
secondary
#60C769
accent
#EB4B3C
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140812
muted
#827B81

Preview Lab

Preview with #AC20A0

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

Preview Lab → · Contrast checker → · Palette generator →

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