#AA2AB7#AA2AB7

#AA2AB7 is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.4% C 0.224 H 323.9°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#AA2AB7
RGBrgb(170, 42, 183)
HSLhsl(294, 63%, 44%)
HSVhsv(294, 77%, 72%)
CMYKcmyk(7.1%, 77%, 0%, 28.2%)
CIE-LABlab(43.69, 67.11, -47.22)
CIE-LCHlch(43.69, 82.05, 324.87°)
OKLaboklab(54.41% 0.1806 -0.1318)
OKLCHoklch(54.41% 0.224 323.9)
XYZxyz(25.9520, 13.6225, 46.0530)
Luminance0.1362 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2AB7 #37B72A
analogous
#642AB7 #AA2AB7 #B72A7E
triadic
#AA2AB7 #B7AA2A #2AB7AA
tetradic
#AA2AB7 #B7642A #37B72A #2A7EB7
square
#AA2AB7 #B7642A #37B72A #2A7EB7
split-complementary
#AA2AB7 #7EB72A #2AB764
monochromatic
#4E1353 #7C1F85 #AA2AB7 #C849D5 #D77BE1

Accessibility & contrast

On white

5.64
#AA2AB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#AA2AB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2AB7
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2AB7#FFFFFF#000000##FFFFFF
##AA2AB71.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBB
Deuteranopia (green-blind)
#456CB4
Tritanopia (blue-blind)
#AD4570
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #aa2ab7;
/* rgb */ color: rgb(170, 42, 183);
/* oklch */ color: oklch(54.4% 0.224 323.9);
Tailwind
colors: {
  custom: {
    50: '#c773cd',
    500: '#aa2ab7',
    950: '#000000',
  },
}
SCSS
$custom: #aa2ab7;
$custom-light: #c773cd;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2ab7",
  "rgb": {
    "r": 170,
    "g": 42,
    "b": 183
  },
  "hsl": {
    "h": 294.468,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.54409,
    "c": 0.22359,
    "h": 323.9
  },
  "luminance": 0.13621
}

Semantic roles & 50–950 ramp

primary
#AA2AB7
secondary
#7CC974
accent
#E64251
background
#FCF7FC
surface
#F9EDF9
border
#D2C8D2
text
#140913
muted
#827B82

Preview Lab

Preview with #AA2AB7

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

Preview Lab → · Contrast checker → · Palette generator →

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