#AA2AB1#AA2AB1

#AA2AB1 is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 54.0% C 0.219 H 325.8°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#AA2AB1
RGBrgb(170, 42, 177)
HSLhsl(297, 62%, 43%)
HSVhsv(297, 76%, 69%)
CMYKcmyk(4%, 76.3%, 0%, 30.6%)
CIE-LABlab(43.33, 66.09, -44.26)
CIE-LCHlch(43.33, 79.54, 326.19°)
OKLaboklab(54.04% 0.181 -0.1232)
OKLCHoklch(54.04% 0.219 325.8)
XYZxyz(25.3408, 13.3780, 42.8340)
Luminance0.1338 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2AB1 #31B12A
analogous
#662AB1 #AA2AB1 #B12A74
triadic
#AA2AB1 #B1AA2A #2AB1AA
tetradic
#AA2AB1 #B1662A #31B12A #2A74B1
square
#AA2AB1 #B1662A #31B12A #2A74B1
split-complementary
#AA2AB1 #74B12A #2AB166
monochromatic
#4B134E #7A1E80 #AA2AB1 #CC45D3 #D977DF

Accessibility & contrast

On white

5.71
#AA2AB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#AA2AB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2AB1
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2AB1#FFFFFF#000000##FFFFFF
##AA2AB11.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB5
Deuteranopia (green-blind)
#496CAE
Tritanopia (blue-blind)
#AE426D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #aa2ab1;
/* rgb */ color: rgb(170, 42, 177);
/* oklch */ color: oklch(54.0% 0.219 325.8);
Tailwind
colors: {
  custom: {
    50: '#c772c9',
    500: '#aa2ab1',
    950: '#000000',
  },
}
SCSS
$custom: #aa2ab1;
$custom-light: #c772c9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2ab1",
  "rgb": {
    "r": 170,
    "g": 42,
    "b": 177
  },
  "hsl": {
    "h": 296.889,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.54038,
    "c": 0.21891,
    "h": 325.8
  },
  "luminance": 0.13376
}

Semantic roles & 50–950 ramp

primary
#AA2AB1
secondary
#75C670
accent
#E5434B
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AA2AB1

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

Preview Lab → · Contrast checker → · Palette generator →

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