#AA2A9A#AA2A9A

#AA2A9A is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.7% C 0.202 H 333.7°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#AA2A9A
RGBrgb(170, 42, 154)
HSLhsl(308, 60%, 42%)
HSVhsv(308, 75%, 67%)
CMYKcmyk(0%, 75.3%, 9.4%, 33.3%)
CIE-LABlab(42.06, 62.40, -32.54)
CIE-LCHlch(42.06, 70.38, 332.46°)
OKLaboklab(52.72% 0.1809 -0.0892)
OKLCHoklch(52.72% 0.202 333.7)
XYZxyz(23.2385, 12.5371, 31.7616)
Luminance0.1253 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2A9A #2AAA3A
analogous
#7A2AAA #AA2A9A #AA2A5A
triadic
#AA2A9A #9AAA2A #2A9AAA
tetradic
#AA2A9A #AA7A2A #2AAA3A #2A5AAA
square
#AA2A9A #AA7A2A #2AAA3A #2A5AAA
split-complementary
#AA2A9A #5AAA2A #2AAA7A
monochromatic
#481241 #791E6E #AA2A9A #D041BE #DC72CF

Accessibility & contrast

On white

5.99
#AA2A9A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#AA2A9A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2A9A
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2A9A#FFFFFF#000000##FFFFFF
##AA2A9A1.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26579D
Deuteranopia (green-blind)
#566A97
Tritanopia (blue-blind)
#B23760
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #aa2a9a;
/* rgb */ color: rgb(170, 42, 154);
/* oklch */ color: oklch(52.7% 0.202 333.7);
Tailwind
colors: {
  custom: {
    50: '#c771b8',
    500: '#aa2a9a',
    950: '#000000',
  },
}
SCSS
$custom: #aa2a9a;
$custom-light: #c771b8;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2a9a",
  "rgb": {
    "r": 170,
    "g": 42,
    "b": 154
  },
  "hsl": {
    "h": 307.5,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.52721,
    "c": 0.20167,
    "h": 333.7
  },
  "luminance": 0.12535
}

Semantic roles & 50–950 ramp

primary
#AA2A9A
secondary
#6CC377
accent
#E45844
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AA2A9A

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

Preview Lab → · Contrast checker → · Palette generator →

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