#AD22A7#AD22A7

#AD22A7 is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.4% C 0.220 H 330.1°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#AD22A7
RGBrgb(173, 34, 167)
HSLhsl(303, 67%, 41%)
HSVhsv(303, 80%, 68%)
CMYKcmyk(0%, 80.3%, 3.5%, 32.2%)
CIE-LABlab(42.49, 67.30, -39.62)
CIE-LCHlch(42.49, 78.10, 329.52°)
OKLaboklab(53.36% 0.1907 -0.1095)
OKLCHoklch(53.36% 0.22 330.1)
XYZxyz(24.7806, 12.8203, 37.7211)
Luminance0.1282 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD22A7 #22AD28
analogous
#6D22AD #AD22A7 #AD2261
triadic
#AD22A7 #A7AD22 #22A7AD
tetradic
#AD22A7 #AD6D22 #22AD28 #2261AD
square
#AD22A7 #AD6D22 #22AD28 #2261AD
split-complementary
#AD22A7 #61AD22 #22AD6D
monochromatic
#470E44 #7A1876 #AD22A7 #D735D0 #E168DC

Accessibility & contrast

On white

5.89
#AD22A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#AD22A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD22A7
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD22A7#FFFFFF#000000##FFFFFF
##AD22A71.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0459AA
Deuteranopia (green-blind)
#4F6BA4
Tritanopia (blue-blind)
#B43865
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ad22a7;
/* rgb */ color: rgb(173, 34, 167);
/* oklch */ color: oklch(53.4% 0.220 330.1);
Tailwind
colors: {
  custom: {
    50: '#ca6fc1',
    500: '#ad22a7',
    950: '#000000',
  },
}
SCSS
$custom: #ad22a7;
$custom-light: #ca6fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#ad22a7",
  "rgb": {
    "r": 173,
    "g": 34,
    "b": 167
  },
  "hsl": {
    "h": 302.59,
    "s": 67.15,
    "l": 40.588
  },
  "oklch": {
    "l": 0.53355,
    "c": 0.21996,
    "h": 330.1
  },
  "luminance": 0.12818
}

Semantic roles & 50–950 ramp

primary
#AD22A7
secondary
#64C768
accent
#EA453E
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AD22A7

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

Preview Lab → · Contrast checker → · Palette generator →

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