#AA2AB4#AA2AB4

#AA2AB4 is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 54.2% C 0.221 H 324.8°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#AA2AB4
RGBrgb(170, 42, 180)
HSLhsl(296, 62%, 44%)
HSVhsv(296, 77%, 71%)
CMYKcmyk(5.6%, 76.7%, 0%, 29.4%)
CIE-LABlab(43.51, 66.59, -45.74)
CIE-LCHlch(43.51, 80.79, 325.51°)
OKLaboklab(54.22% 0.1808 -0.1275)
OKLCHoklch(54.22% 0.221 324.8)
XYZxyz(25.6431, 13.4989, 44.4261)
Luminance0.1350 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2AB4 #34B42A
analogous
#652AB4 #AA2AB4 #B42A79
triadic
#AA2AB4 #B4AA2A #2AB4AA
tetradic
#AA2AB4 #B4652A #34B42A #2A79B4
square
#AA2AB4 #B4652A #34B42A #2A79B4
split-complementary
#AA2AB4 #79B42A #2AB465
monochromatic
#4C1351 #7B1E82 #AA2AB4 #CA47D4 #D879E0

Accessibility & contrast

On white

5.68
#AA2AB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#AA2AB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2AB4
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2AB4#FFFFFF#000000##FFFFFF
##AA2AB41.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB8
Deuteranopia (green-blind)
#476CB1
Tritanopia (blue-blind)
#AE446E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #aa2ab4;
/* rgb */ color: rgb(170, 42, 180);
/* oklch */ color: oklch(54.2% 0.221 324.8);
Tailwind
colors: {
  custom: {
    50: '#c772cb',
    500: '#aa2ab4',
    950: '#000000',
  },
}
SCSS
$custom: #aa2ab4;
$custom-light: #c772cb;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2ab4",
  "rgb": {
    "r": 170,
    "g": 42,
    "b": 180
  },
  "hsl": {
    "h": 295.652,
    "s": 62.162,
    "l": 43.529
  },
  "oklch": {
    "l": 0.54222,
    "c": 0.22124,
    "h": 324.8
  },
  "luminance": 0.13497
}

Semantic roles & 50–950 ramp

primary
#AA2AB4
secondary
#78C872
accent
#E5434E
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AA2AB4

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

Preview Lab → · Contrast checker → · Palette generator →

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