#AD20A2#AD20A2

#AD20A2 is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.9% C 0.218 H 331.8°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#AD20A2
RGBrgb(173, 32, 162)
HSLhsl(305, 69%, 40%)
HSVhsv(305, 82%, 68%)
CMYKcmyk(0%, 81.5%, 6.4%, 32.2%)
CIE-LABlab(42.04, 67.03, -37.34)
CIE-LCHlch(42.04, 76.73, 330.88°)
OKLaboklab(52.95% 0.1922 -0.1029)
OKLCHoklch(52.95% 0.218 331.8)
XYZxyz(24.2717, 12.5280, 35.3152)
Luminance0.1253 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD20A2 #20AD2B
analogous
#7220AD #AD20A2 #AD205B
triadic
#AD20A2 #A2AD20 #20A2AD
tetradic
#AD20A2 #AD7220 #20AD2B #205BAD
square
#AD20A2 #AD7220 #20AD2B #205BAD
split-complementary
#AD20A2 #5BAD20 #20AD72
monochromatic
#460D41 #791672 #AD20A2 #D931CC #E265D9

Accessibility & contrast

On white

5.99
#AD20A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#AD20A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD20A2
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD20A2#FFFFFF#000000##FFFFFF
##AD20A21.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F57A5
Deuteranopia (green-blind)
#526A9F
Tritanopia (blue-blind)
#B43462
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ad20a2;
/* rgb */ color: rgb(173, 32, 162);
/* oklch */ color: oklch(52.9% 0.218 331.8);
Tailwind
colors: {
  custom: {
    50: '#ca6fbe',
    500: '#ad20a2',
    950: '#000000',
  },
}
SCSS
$custom: #ad20a2;
$custom-light: #ca6fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#ad20a2",
  "rgb": {
    "r": 173,
    "g": 32,
    "b": 162
  },
  "hsl": {
    "h": 304.681,
    "s": 68.78,
    "l": 40.196
  },
  "oklch": {
    "l": 0.52946,
    "c": 0.21804,
    "h": 331.8
  },
  "luminance": 0.12526
}

Semantic roles & 50–950 ramp

primary
#AD20A2
secondary
#61C869
accent
#EC4A3C
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140812
muted
#827B81

Preview Lab

Preview with #AD20A2

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

Preview Lab → · Contrast checker → · Palette generator →

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