#AA2AB5#AA2AB5

#AA2AB5 is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 54.3% C 0.222 H 324.5°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#AA2AB5
RGBrgb(170, 42, 181)
HSLhsl(295, 62%, 44%)
HSVhsv(295, 77%, 71%)
CMYKcmyk(6.1%, 76.8%, 0%, 29%)
CIE-LABlab(43.57, 66.76, -46.24)
CIE-LCHlch(43.57, 81.21, 325.30°)
OKLaboklab(54.28% 0.1807 -0.1289)
OKLCHoklch(54.28% 0.222 324.5)
XYZxyz(25.7453, 13.5398, 44.9645)
Luminance0.1354 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2AB5 #35B52A
analogous
#642AB5 #AA2AB5 #B52A7A
triadic
#AA2AB5 #B5AA2A #2AB5AA
tetradic
#AA2AB5 #B5642A #35B52A #2A7AB5
square
#AA2AB5 #B5642A #35B52A #2A7AB5
split-complementary
#AA2AB5 #7AB52A #2AB564
monochromatic
#4D1352 #7B1E83 #AA2AB5 #C948D4 #D879E0

Accessibility & contrast

On white

5.66
#AA2AB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#AA2AB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2AB5
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2AB5#FFFFFF#000000##FFFFFF
##AA2AB51.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB9
Deuteranopia (green-blind)
#476CB2
Tritanopia (blue-blind)
#AD446F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #aa2ab5;
/* rgb */ color: rgb(170, 42, 181);
/* oklch */ color: oklch(54.3% 0.222 324.5);
Tailwind
colors: {
  custom: {
    50: '#c772cc',
    500: '#aa2ab5',
    950: '#000000',
  },
}
SCSS
$custom: #aa2ab5;
$custom-light: #c772cc;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2ab5",
  "rgb": {
    "r": 170,
    "g": 42,
    "b": 181
  },
  "hsl": {
    "h": 295.252,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.54284,
    "c": 0.22202,
    "h": 324.5
  },
  "luminance": 0.13538
}

Semantic roles & 50–950 ramp

primary
#AA2AB5
secondary
#7AC873
accent
#E5424F
background
#FCF7FC
surface
#F9EDF9
border
#D2C8D2
text
#140913
muted
#827B82

Preview Lab

Preview with #AA2AB5

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

Preview Lab → · Contrast checker → · Palette generator →

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