#AA2AB3#AA2AB3

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

Color values

HEX#AA2AB3
RGBrgb(170, 42, 179)
HSLhsl(296, 62%, 43%)
HSVhsv(296, 77%, 70%)
CMYKcmyk(5%, 76.5%, 0%, 29.8%)
CIE-LABlab(43.45, 66.42, -45.25)
CIE-LCHlch(43.45, 80.37, 325.74°)
OKLaboklab(54.16% 0.1809 -0.1261)
OKLCHoklch(54.16% 0.22 325.1)
XYZxyz(25.5416, 13.4583, 43.8915)
Luminance0.1346 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2AB3 #33B32A
analogous
#652AB3 #AA2AB3 #B32A77
triadic
#AA2AB3 #B3AA2A #2AB3AA
tetradic
#AA2AB3 #B3652A #33B32A #2A77B3
square
#AA2AB3 #B3652A #33B32A #2A77B3
split-complementary
#AA2AB3 #77B32A #2AB365
monochromatic
#4C1350 #7B1E81 #AA2AB3 #CA46D4 #D978DF

Accessibility & contrast

On white

5.69
#AA2AB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#AA2AB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2AB3
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2AB3#FFFFFF#000000##FFFFFF
##AA2AB31.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB7
Deuteranopia (green-blind)
#486CB0
Tritanopia (blue-blind)
#AE436E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #aa2ab3;
/* rgb */ color: rgb(170, 42, 179);
/* oklch */ color: oklch(54.2% 0.220 325.1);
Tailwind
colors: {
  custom: {
    50: '#c772ca',
    500: '#aa2ab3',
    950: '#000000',
  },
}
SCSS
$custom: #aa2ab3;
$custom-light: #c772ca;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2ab3",
  "rgb": {
    "r": 170,
    "g": 42,
    "b": 179
  },
  "hsl": {
    "h": 296.058,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.54161,
    "c": 0.22046,
    "h": 325.1
  },
  "luminance": 0.13457
}

Semantic roles & 50–950 ramp

primary
#AA2AB3
secondary
#77C772
accent
#E5434D
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AA2AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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