#AA219F#AA219F

#AA219F is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.4% C 0.214 H 331.9°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#AA219F
RGBrgb(170, 33, 159)
HSLhsl(305, 67%, 40%)
HSVhsv(305, 81%, 67%)
CMYKcmyk(0%, 80.6%, 6.5%, 33.3%)
CIE-LABlab(41.44, 65.71, -36.53)
CIE-LCHlch(41.44, 75.19, 330.93°)
OKLaboklab(52.36% 0.1885 -0.1007)
OKLCHoklch(52.36% 0.214 331.9)
XYZxyz(23.3795, 12.1390, 33.9059)
Luminance0.1214 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA219F #21AA2C
analogous
#7121AA #AA219F #AA215A
triadic
#AA219F #9FAA21 #219FAA
tetradic
#AA219F #AA7121 #21AA2C #215AAA
square
#AA219F #AA7121 #21AA2C #215AAA
split-complementary
#AA219F #5AAA21 #21AA71
monochromatic
#430D3F #77176F #AA219F #D731CA #E164D7

Accessibility & contrast

On white

6.13
#AA219F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#AA219F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA219F
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA219F#FFFFFF#000000##FFFFFF
##AA219F1.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1256A2
Deuteranopia (green-blind)
#51689C
Tritanopia (blue-blind)
#B13460
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #aa219f;
/* rgb */ color: rgb(170, 33, 159);
/* oklch */ color: oklch(52.4% 0.214 331.9);
Tailwind
colors: {
  custom: {
    50: '#c76ebc',
    500: '#aa219f',
    950: '#000000',
  },
}
SCSS
$custom: #aa219f;
$custom-light: #c76ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#aa219f",
  "rgb": {
    "r": 170,
    "g": 33,
    "b": 159
  },
  "hsl": {
    "h": 304.818,
    "s": 67.488,
    "l": 39.804
  },
  "oklch": {
    "l": 0.52362,
    "c": 0.21369,
    "h": 331.9
  },
  "luminance": 0.12137
}

Semantic roles & 50–950 ramp

primary
#AA219F
secondary
#61C669
accent
#EA4B3D
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140812
muted
#827B81

Preview Lab

Preview with #AA219F

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

Preview Lab → · Contrast checker → · Palette generator →

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