#AC20AA#AC20AA

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

Color values

HEX#AC20AA
RGBrgb(172, 32, 170)
HSLhsl(301, 69%, 40%)
HSVhsv(301, 81%, 67%)
CMYKcmyk(0%, 81.4%, 1.2%, 32.5%)
CIE-LABlab(42.32, 68.06, -41.69)
CIE-LCHlch(42.32, 79.81, 328.51°)
OKLaboklab(53.26% 0.191 -0.1156)
OKLCHoklch(53.26% 0.223 328.8)
XYZxyz(24.7852, 12.7079, 39.1699)
Luminance0.1271 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC20AA #20AC22
analogous
#6820AC #AC20AA #AC2064
triadic
#AC20AA #AAAC20 #20AAAC
tetradic
#AC20AA #AC6820 #20AC22 #2064AC
square
#AC20AA #AC6820 #20AC22 #2064AC
split-complementary
#AC20AA #64AC20 #20AC68
monochromatic
#450D44 #781677 #AC20AA #D931D6 #E264E0

Accessibility & contrast

On white

5.93
#AC20AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#AC20AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC20AA
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC20AA#FFFFFF#000000##FFFFFF
##AC20AA1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AE
Deuteranopia (green-blind)
#4C6AA7
Tritanopia (blue-blind)
#B23966
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ac20aa;
/* rgb */ color: rgb(172, 32, 170);
/* oklch */ color: oklch(53.3% 0.223 328.8);
Tailwind
colors: {
  custom: {
    50: '#c96fc4',
    500: '#ac20aa',
    950: '#000000',
  },
}
SCSS
$custom: #ac20aa;
$custom-light: #c96fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#ac20aa",
  "rgb": {
    "r": 172,
    "g": 32,
    "b": 170
  },
  "hsl": {
    "h": 300.857,
    "s": 68.627,
    "l": 40
  },
  "oklch": {
    "l": 0.53256,
    "c": 0.22328,
    "h": 328.8
  },
  "luminance": 0.12706
}

Semantic roles & 50–950 ramp

primary
#AC20AA
secondary
#60C762
accent
#EB3F3C
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140813
muted
#827B82

Preview Lab

Preview with #AC20AA

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

Preview Lab → · Contrast checker → · Palette generator →

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