#AA2AB9#AA2AB9

#AA2AB9 is a mid, highly saturated purple. Relative luminance 0.137; OKLCH L 54.5% C 0.225 H 323.3°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#AA2AB9
RGBrgb(170, 42, 185)
HSLhsl(294, 63%, 45%)
HSVhsv(294, 77%, 73%)
CMYKcmyk(8.1%, 77.3%, 0%, 27.5%)
CIE-LABlab(43.81, 67.45, -48.20)
CIE-LCHlch(43.81, 82.90, 324.45°)
OKLaboklab(54.54% 0.1804 -0.1347)
OKLCHoklch(54.54% 0.225 323.3)
XYZxyz(26.1617, 13.7064, 47.1571)
Luminance0.1371 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2AB9 #39B92A
analogous
#622AB9 #AA2AB9 #B92A81
triadic
#AA2AB9 #B9AA2A #2AB9AA
tetradic
#AA2AB9 #B9622A #39B92A #2A81B9
square
#AA2AB9 #B9622A #39B92A #2A81B9
split-complementary
#AA2AB9 #81B92A #2AB962
monochromatic
#4E1355 #7C1F87 #AA2AB9 #C74AD6 #D77CE1

Accessibility & contrast

On white

5.61
#AA2AB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#AA2AB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2AB9
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2AB9#FFFFFF#000000##FFFFFF
##AA2AB91.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBD
Deuteranopia (green-blind)
#446CB6
Tritanopia (blue-blind)
#AD4671
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #aa2ab9;
/* rgb */ color: rgb(170, 42, 185);
/* oklch */ color: oklch(54.5% 0.225 323.3);
Tailwind
colors: {
  custom: {
    50: '#c773cf',
    500: '#aa2ab9',
    950: '#000000',
  },
}
SCSS
$custom: #aa2ab9;
$custom-light: #c773cf;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2ab9",
  "rgb": {
    "r": 170,
    "g": 42,
    "b": 185
  },
  "hsl": {
    "h": 293.706,
    "s": 62.996,
    "l": 44.51
  },
  "oklch": {
    "l": 0.54535,
    "c": 0.22516,
    "h": 323.3
  },
  "luminance": 0.13705
}

Semantic roles & 50–950 ramp

primary
#AA2AB9
secondary
#7ECA75
accent
#E64253
background
#FCF7FC
surface
#F9EDF9
border
#D2C8D2
text
#140914
muted
#827B82

Preview Lab

Preview with #AA2AB9

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

Preview Lab → · Contrast checker → · Palette generator →

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