#AD20B1#AD20B1

#AD20B1 is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.8% C 0.229 H 326.9°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#AD20B1
RGBrgb(173, 32, 177)
HSLhsl(298, 69%, 41%)
HSVhsv(298, 82%, 69%)
CMYKcmyk(2.3%, 81.9%, 0%, 30.6%)
CIE-LABlab(42.90, 69.37, -44.90)
CIE-LCHlch(42.90, 82.63, 327.08°)
OKLaboklab(53.83% 0.1917 -0.1249)
OKLCHoklch(53.83% 0.229 326.9)
XYZxyz(25.6855, 13.0935, 42.7609)
Luminance0.1309 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD20B1 #24B120
analogous
#6420B1 #AD20B1 #B1206C
triadic
#AD20B1 #B1AD20 #20B1AD
tetradic
#AD20B1 #B16420 #24B120 #206CB1
square
#AD20B1 #B16420 #24B120 #206CB1
split-complementary
#AD20B1 #6CB120 #20B164
monochromatic
#480D49 #7A177D #AD20B1 #D634DA #E068E4

Accessibility & contrast

On white

5.80
#AD20B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#AD20B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD20B1
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD20B1#FFFFFF#000000##FFFFFF
##AD20B11.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB5
Deuteranopia (green-blind)
#486BAE
Tritanopia (blue-blind)
#B23C6B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ad20b1;
/* rgb */ color: rgb(173, 32, 177);
/* oklch */ color: oklch(53.8% 0.229 326.9);
Tailwind
colors: {
  custom: {
    50: '#ca6fc9',
    500: '#ad20b1',
    950: '#000000',
  },
}
SCSS
$custom: #ad20b1;
$custom-light: #ca6fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#ad20b1",
  "rgb": {
    "r": 173,
    "g": 32,
    "b": 177
  },
  "hsl": {
    "h": 298.345,
    "s": 69.378,
    "l": 40.98
  },
  "oklch": {
    "l": 0.53834,
    "c": 0.22879,
    "h": 326.9
  },
  "luminance": 0.13092
}

Semantic roles & 50–950 ramp

primary
#AD20B1
secondary
#66C964
accent
#EC3C40
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AD20B1

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

Preview Lab → · Contrast checker → · Palette generator →

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