#AA219A#AA219A

#AA219A is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.1% C 0.210 H 333.7°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#AA219A
RGBrgb(170, 33, 154)
HSLhsl(307, 67%, 40%)
HSVhsv(307, 81%, 67%)
CMYKcmyk(0%, 80.6%, 9.4%, 33.3%)
CIE-LABlab(41.17, 64.96, -33.95)
CIE-LCHlch(41.17, 73.30, 332.41°)
OKLaboklab(52.08% 0.1884 -0.0932)
OKLCHoklch(52.08% 0.21 333.7)
XYZxyz(22.9544, 11.9689, 31.6669)
Luminance0.1197 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA219A #21AA31
analogous
#7521AA #AA219A #AA2156
triadic
#AA219A #9AAA21 #219AAA
tetradic
#AA219A #AA7521 #21AA31 #2156AA
square
#AA219A #AA7521 #21AA31 #2156AA
split-complementary
#AA219A #56AA21 #21AA75
monochromatic
#430D3D #77176C #AA219A #D731C4 #E164D2

Accessibility & contrast

On white

6.19
#AA219A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#AA219A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA219A
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA219A#FFFFFF#000000##FFFFFF
##AA219A1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B559D
Deuteranopia (green-blind)
#536897
Tritanopia (blue-blind)
#B2315D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #aa219a;
/* rgb */ color: rgb(170, 33, 154);
/* oklch */ color: oklch(52.1% 0.210 333.7);
Tailwind
colors: {
  custom: {
    50: '#c76eb8',
    500: '#aa219a',
    950: '#000000',
  },
}
SCSS
$custom: #aa219a;
$custom-light: #c76eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#aa219a",
  "rgb": {
    "r": 170,
    "g": 33,
    "b": 154
  },
  "hsl": {
    "h": 307.007,
    "s": 67.488,
    "l": 39.804
  },
  "oklch": {
    "l": 0.52082,
    "c": 0.21018,
    "h": 333.7
  },
  "luminance": 0.11967
}

Semantic roles & 50–950 ramp

primary
#AA219A
secondary
#61C66C
accent
#EA523D
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140811
muted
#827B80

Preview Lab

Preview with #AA219A

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

Preview Lab → · Contrast checker → · Palette generator →

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