#AD20A4#AD20A4

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

Color values

HEX#AD20A4
RGBrgb(173, 32, 164)
HSLhsl(304, 69%, 40%)
HSVhsv(304, 82%, 68%)
CMYKcmyk(0%, 81.5%, 5.2%, 32.2%)
CIE-LABlab(42.15, 67.33, -38.36)
CIE-LCHlch(42.15, 77.50, 330.33°)
OKLaboklab(53.06% 0.1922 -0.1059)
OKLCHoklch(53.06% 0.219 331.1)
XYZxyz(24.4509, 12.5996, 36.2590)
Luminance0.1260 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD20A4 #20AD29
analogous
#7020AD #AD20A4 #AD205D
triadic
#AD20A4 #A4AD20 #20A4AD
tetradic
#AD20A4 #AD7020 #20AD29 #205DAD
square
#AD20A4 #AD7020 #20AD29 #205DAD
split-complementary
#AD20A4 #5DAD20 #20AD70
monochromatic
#460D42 #791673 #AD20A4 #D931CE #E265DA

Accessibility & contrast

On white

5.97
#AD20A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#AD20A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD20A4
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD20A4#FFFFFF#000000##FFFFFF
##AD20A41.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0957A7
Deuteranopia (green-blind)
#516AA1
Tritanopia (blue-blind)
#B43563
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ad20a4;
/* rgb */ color: rgb(173, 32, 164);
/* oklch */ color: oklch(53.1% 0.219 331.1);
Tailwind
colors: {
  custom: {
    50: '#ca6fbf',
    500: '#ad20a4',
    950: '#000000',
  },
}
SCSS
$custom: #ad20a4;
$custom-light: #ca6fbf;
$custom-dark: #000000;
JSON
{
  "hex": "#ad20a4",
  "rgb": {
    "r": 173,
    "g": 32,
    "b": 164
  },
  "hsl": {
    "h": 303.83,
    "s": 68.78,
    "l": 40.196
  },
  "oklch": {
    "l": 0.53061,
    "c": 0.21944,
    "h": 331.1
  },
  "luminance": 0.12598
}

Semantic roles & 50–950 ramp

primary
#AD20A4
secondary
#61C868
accent
#EC473C
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140812
muted
#827B81

Preview Lab

Preview with #AD20A4

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

Preview Lab → · Contrast checker → · Palette generator →

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