#AA22AD#AA22AD

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

Color values

HEX#AA22AD
RGBrgb(170, 34, 173)
HSLhsl(299, 67%, 41%)
HSVhsv(299, 80%, 68%)
CMYKcmyk(1.7%, 80.3%, 0%, 32.2%)
CIE-LABlab(42.32, 67.65, -43.49)
CIE-LCHlch(42.32, 80.43, 327.26°)
OKLaboklab(53.25% 0.1874 -0.1209)
OKLCHoklch(53.25% 0.223 327.2)
XYZxyz(24.6920, 12.7090, 40.6796)
Luminance0.1271 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA22AD #25AD22
analogous
#6422AD #AA22AD #AD226A
triadic
#AA22AD #ADAA22 #22ADAA
tetradic
#AA22AD #AD6422 #25AD22 #226AAD
square
#AA22AD #AD6422 #25AD22 #226AAD
split-complementary
#AA22AD #6AAD22 #22AD64
monochromatic
#450E47 #78187A #AA22AD #D435D7 #DF68E1

Accessibility & contrast

On white

5.93
#AA22AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#AA22AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA22AD
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA22AD#FFFFFF#000000##FFFFFF
##AA22AD1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B1
Deuteranopia (green-blind)
#496AAA
Tritanopia (blue-blind)
#AF3C69
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #aa22ad;
/* rgb */ color: rgb(170, 34, 173);
/* oklch */ color: oklch(53.2% 0.223 327.2);
Tailwind
colors: {
  custom: {
    50: '#c76fc6',
    500: '#aa22ad',
    950: '#000000',
  },
}
SCSS
$custom: #aa22ad;
$custom-light: #c76fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#aa22ad",
  "rgb": {
    "r": 170,
    "g": 34,
    "b": 173
  },
  "hsl": {
    "h": 298.705,
    "s": 67.15,
    "l": 40.588
  },
  "oklch": {
    "l": 0.53248,
    "c": 0.22301,
    "h": 327.2
  },
  "luminance": 0.12707
}

Semantic roles & 50–950 ramp

primary
#AA22AD
secondary
#66C764
accent
#EA3E41
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140813
muted
#827B82

Preview Lab

Preview with #AA22AD

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

Preview Lab → · Contrast checker → · Palette generator →

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