#AD22A2#AD22A2

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

Color values

HEX#AD22A2
RGBrgb(173, 34, 162)
HSLhsl(305, 67%, 41%)
HSVhsv(305, 80%, 68%)
CMYKcmyk(0%, 80.3%, 6.4%, 32.2%)
CIE-LABlab(42.21, 66.54, -37.07)
CIE-LCHlch(42.21, 76.17, 330.88°)
OKLaboklab(53.07% 0.1908 -0.1022)
OKLCHoklch(53.07% 0.216 331.8)
XYZxyz(24.3273, 12.6390, 35.3337)
Luminance0.1264 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD22A2 #22AD2D
analogous
#7222AD #AD22A2 #AD225C
triadic
#AD22A2 #A2AD22 #22A2AD
tetradic
#AD22A2 #AD7222 #22AD2D #225CAD
square
#AD22A2 #AD7222 #22AD2D #225CAD
split-complementary
#AD22A2 #5CAD22 #22AD72
monochromatic
#470E42 #7A1872 #AD22A2 #D735CA #E168D8

Accessibility & contrast

On white

5.95
#AD22A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#AD22A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD22A2
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD22A2#FFFFFF#000000##FFFFFF
##AD22A21.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1357A5
Deuteranopia (green-blind)
#526A9F
Tritanopia (blue-blind)
#B43562
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ad22a2;
/* rgb */ color: rgb(173, 34, 162);
/* oklch */ color: oklch(53.1% 0.216 331.8);
Tailwind
colors: {
  custom: {
    50: '#ca6fbe',
    500: '#ad22a2',
    950: '#000000',
  },
}
SCSS
$custom: #ad22a2;
$custom-light: #ca6fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#ad22a2",
  "rgb": {
    "r": 173,
    "g": 34,
    "b": 162
  },
  "hsl": {
    "h": 304.748,
    "s": 67.15,
    "l": 40.588
  },
  "oklch": {
    "l": 0.53068,
    "c": 0.2164,
    "h": 331.8
  },
  "luminance": 0.12637
}

Semantic roles & 50–950 ramp

primary
#AD22A2
secondary
#64C76C
accent
#EA4B3E
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140812
muted
#827B81

Preview Lab

Preview with #AD22A2

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

Preview Lab → · Contrast checker → · Palette generator →

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