#AA2A97#AA2A97

#AA2A97 is a mid, vivid purple. Relative luminance 0.124; OKLCH L 52.6% C 0.200 H 334.9°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#AA2A97
RGBrgb(170, 42, 151)
HSLhsl(309, 60%, 42%)
HSVhsv(309, 75%, 67%)
CMYKcmyk(0%, 75.3%, 11.2%, 33.3%)
CIE-LABlab(41.90, 61.95, -30.97)
CIE-LCHlch(41.90, 69.26, 333.44°)
OKLaboklab(52.56% 0.1807 -0.0847)
OKLCHoklch(52.56% 0.2 334.9)
XYZxyz(22.9917, 12.4384, 30.4621)
Luminance0.1244 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2A97 #2AAA3D
analogous
#7D2AAA #AA2A97 #AA2A57
triadic
#AA2A97 #97AA2A #2A97AA
tetradic
#AA2A97 #AA7D2A #2AAA3D #2A57AA
square
#AA2A97 #AA7D2A #2AAA3D #2A57AA
split-complementary
#AA2A97 #57AA2A #2AAA7D
monochromatic
#481240 #791E6B #AA2A97 #D041BB #DC72CC

Accessibility & contrast

On white

6.02
#AA2A97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#AA2A97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2A97
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2A97#FFFFFF#000000##FFFFFF
##AA2A971.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29579A
Deuteranopia (green-blind)
#586A94
Tritanopia (blue-blind)
#B2355E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #aa2a97;
/* rgb */ color: rgb(170, 42, 151);
/* oklch */ color: oklch(52.6% 0.200 334.9);
Tailwind
colors: {
  custom: {
    50: '#c771b6',
    500: '#aa2a97',
    950: '#000000',
  },
}
SCSS
$custom: #aa2a97;
$custom-light: #c771b6;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2a97",
  "rgb": {
    "r": 170,
    "g": 42,
    "b": 151
  },
  "hsl": {
    "h": 308.906,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.52561,
    "c": 0.19953,
    "h": 334.9
  },
  "luminance": 0.12436
}

Semantic roles & 50–950 ramp

primary
#AA2A97
secondary
#6CC379
accent
#E45C44
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AA2A97

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

Preview Lab → · Contrast checker → · Palette generator →

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