#AA219B#AA219B

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

Color values

HEX#AA219B
RGBrgb(170, 33, 155)
HSLhsl(307, 67%, 40%)
HSVhsv(307, 81%, 67%)
CMYKcmyk(0%, 80.6%, 8.8%, 33.3%)
CIE-LABlab(41.22, 65.11, -34.47)
CIE-LCHlch(41.22, 73.67, 332.11°)
OKLaboklab(52.14% 0.1884 -0.0947)
OKLCHoklch(52.14% 0.211 333.3)
XYZxyz(23.0380, 12.0024, 32.1073)
Luminance0.1200 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA219B #21AA30
analogous
#7421AA #AA219B #AA2157
triadic
#AA219B #9BAA21 #219BAA
tetradic
#AA219B #AA7421 #21AA30 #2157AA
square
#AA219B #AA7421 #21AA30 #2157AA
split-complementary
#AA219B #57AA21 #21AA74
monochromatic
#430D3E #77176C #AA219B #D731C5 #E164D3

Accessibility & contrast

On white

6.18
#AA219B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#AA219B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA219B
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA219B#FFFFFF#000000##FFFFFF
##AA219B1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A559E
Deuteranopia (green-blind)
#536898
Tritanopia (blue-blind)
#B2315E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #aa219b;
/* rgb */ color: rgb(170, 33, 155);
/* oklch */ color: oklch(52.1% 0.211 333.3);
Tailwind
colors: {
  custom: {
    50: '#c76eb9',
    500: '#aa219b',
    950: '#000000',
  },
}
SCSS
$custom: #aa219b;
$custom-light: #c76eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa219b",
  "rgb": {
    "r": 170,
    "g": 33,
    "b": 155
  },
  "hsl": {
    "h": 306.569,
    "s": 67.488,
    "l": 39.804
  },
  "oklch": {
    "l": 0.52138,
    "c": 0.21088,
    "h": 333.3
  },
  "luminance": 0.12
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA219B

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

Preview Lab → · Contrast checker → · Palette generator →

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