#AA2BA9#AA2BA9

#AA2BA9 is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.6% C 0.212 H 328.4°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#AA2BA9
RGBrgb(170, 43, 169)
HSLhsl(300, 60%, 42%)
HSVhsv(300, 75%, 67%)
CMYKcmyk(0%, 74.7%, 0.6%, 33.3%)
CIE-LABlab(42.97, 64.46, -40.08)
CIE-LCHlch(42.97, 75.90, 328.13°)
OKLaboklab(53.64% 0.1803 -0.111)
OKLCHoklch(53.64% 0.212 328.4)
XYZxyz(24.6026, 13.1402, 38.7689)
Luminance0.1314 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2BA9 #2BAA2C
analogous
#6B2BAA #AA2BA9 #AA2B6A
triadic
#AA2BA9 #A9AA2B #2BA9AA
tetradic
#AA2BA9 #AA6B2B #2BAA2C #2B6AAA
square
#AA2BA9 #AA6B2B #2BAA2C #2B6AAA
split-complementary
#AA2BA9 #6AAA2B #2BAA6B
monochromatic
#481248 #791F78 #AA2BA9 #CF43CE #DC74DB

Accessibility & contrast

On white

5.79
#AA2BA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#AA2BA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2BA9
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2BA9#FFFFFF#000000##FFFFFF
##AA2BA91.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#105BAC
Deuteranopia (green-blind)
#4F6BA6
Tritanopia (blue-blind)
#B03F68
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #aa2ba9;
/* rgb */ color: rgb(170, 43, 169);
/* oklch */ color: oklch(53.6% 0.212 328.4);
Tailwind
colors: {
  custom: {
    50: '#c772c3',
    500: '#aa2ba9',
    950: '#000000',
  },
}
SCSS
$custom: #aa2ba9;
$custom-light: #c772c3;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2ba9",
  "rgb": {
    "r": 170,
    "g": 43,
    "b": 169
  },
  "hsl": {
    "h": 300.472,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.53638,
    "c": 0.21177,
    "h": 328.4
  },
  "luminance": 0.13138
}

Semantic roles & 50–950 ramp

primary
#AA2BA9
secondary
#6EC36E
accent
#E34645
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140912
muted
#827B81

Preview Lab

Preview with #AA2BA9

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

Preview Lab → · Contrast checker → · Palette generator →

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