#AB22AD#AB22AD

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

Color values

HEX#AB22AD
RGBrgb(171, 34, 173)
HSLhsl(299, 67%, 41%)
HSVhsv(299, 80%, 68%)
CMYKcmyk(1.2%, 80.3%, 0%, 32.2%)
CIE-LABlab(42.49, 67.85, -43.21)
CIE-LCHlch(42.49, 80.44, 327.51°)
OKLaboklab(53.4% 0.1885 -0.12)
OKLCHoklch(53.4% 0.223 327.5)
XYZxyz(24.9091, 12.8210, 40.6898)
Luminance0.1282 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB22AD #24AD22
analogous
#6622AD #AB22AD #AD2269
triadic
#AB22AD #ADAB22 #22ADAB
tetradic
#AB22AD #AD6622 #24AD22 #2269AD
square
#AB22AD #AD6622 #24AD22 #2269AD
split-complementary
#AB22AD #69AD22 #22AD66
monochromatic
#460E47 #78187A #AB22AD #D535D7 #E068E1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB22AD#FFFFFF#000000##FFFFFF
##AB22AD1.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)
#0059B1
Deuteranopia (green-blind)
#4A6AAA
Tritanopia (blue-blind)
#B03C69
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ab22ad;
/* rgb */ color: rgb(171, 34, 173);
/* oklch */ color: oklch(53.4% 0.223 327.5);
Tailwind
colors: {
  custom: {
    50: '#c86fc6',
    500: '#ab22ad',
    950: '#000000',
  },
}
SCSS
$custom: #ab22ad;
$custom-light: #c86fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab22ad",
  "rgb": {
    "r": 171,
    "g": 34,
    "b": 173
  },
  "hsl": {
    "h": 299.137,
    "s": 67.15,
    "l": 40.588
  },
  "oklch": {
    "l": 0.53402,
    "c": 0.22344,
    "h": 327.5
  },
  "luminance": 0.12819
}

Semantic roles & 50–950 ramp

primary
#AB22AD
secondary
#65C764
accent
#EA3E40
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140813
muted
#827B82

Preview Lab

Preview with #AB22AD

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

Preview Lab → · Contrast checker → · Palette generator →

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