#AD22A5#AD22A5

#AD22A5 is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.2% C 0.219 H 330.8°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#AD22A5
RGBrgb(173, 34, 165)
HSLhsl(303, 67%, 41%)
HSVhsv(303, 80%, 68%)
CMYKcmyk(0%, 80.3%, 4.6%, 32.2%)
CIE-LABlab(42.38, 66.99, -38.60)
CIE-LCHlch(42.38, 77.32, 330.05°)
OKLaboklab(53.24% 0.1908 -0.1066)
OKLCHoklch(53.24% 0.219 330.8)
XYZxyz(24.5971, 12.7469, 36.7549)
Luminance0.1275 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD22A5 #22AD2A
analogous
#6F22AD #AD22A5 #AD225F
triadic
#AD22A5 #A5AD22 #22A5AD
tetradic
#AD22A5 #AD6F22 #22AD2A #225FAD
square
#AD22A5 #AD6F22 #22AD2A #225FAD
split-complementary
#AD22A5 #5FAD22 #22AD6F
monochromatic
#470E43 #7A1874 #AD22A5 #D735CE #E168DA

Accessibility & contrast

On white

5.92
#AD22A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#AD22A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD22A5
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD22A5#FFFFFF#000000##FFFFFF
##AD22A51.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B58A8
Deuteranopia (green-blind)
#516BA2
Tritanopia (blue-blind)
#B43764
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ad22a5;
/* rgb */ color: rgb(173, 34, 165);
/* oklch */ color: oklch(53.2% 0.219 330.8);
Tailwind
colors: {
  custom: {
    50: '#ca6fc0',
    500: '#ad22a5',
    950: '#000000',
  },
}
SCSS
$custom: #ad22a5;
$custom-light: #ca6fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#ad22a5",
  "rgb": {
    "r": 173,
    "g": 34,
    "b": 165
  },
  "hsl": {
    "h": 303.453,
    "s": 67.15,
    "l": 40.588
  },
  "oklch": {
    "l": 0.53239,
    "c": 0.21853,
    "h": 330.8
  },
  "luminance": 0.12745
}

Semantic roles & 50–950 ramp

primary
#AD22A5
secondary
#64C769
accent
#EA483E
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140812
muted
#827B81

Preview Lab

Preview with #AD22A5

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

Preview Lab → · Contrast checker → · Palette generator →

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