#AA2AB2#AA2AB2

#AA2AB2 is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 54.1% C 0.220 H 325.4°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#AA2AB2
RGBrgb(170, 42, 178)
HSLhsl(296, 62%, 43%)
HSVhsv(296, 76%, 70%)
CMYKcmyk(4.5%, 76.4%, 0%, 30.2%)
CIE-LABlab(43.39, 66.26, -44.75)
CIE-LCHlch(43.39, 79.95, 325.96°)
OKLaboklab(54.1% 0.1809 -0.1246)
OKLCHoklch(54.1% 0.22 325.4)
XYZxyz(25.4408, 13.4180, 43.3608)
Luminance0.1342 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2AB2 #32B22A
analogous
#662AB2 #AA2AB2 #B22A76
triadic
#AA2AB2 #B2AA2A #2AB2AA
tetradic
#AA2AB2 #B2662A #32B22A #2A76B2
square
#AA2AB2 #B2662A #32B22A #2A76B2
split-complementary
#AA2AB2 #76B22A #2AB266
monochromatic
#4B134F #7B1E80 #AA2AB2 #CB46D3 #D977DF

Accessibility & contrast

On white

5.70
#AA2AB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AA2AB2
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2AB2#FFFFFF#000000##FFFFFF
##AA2AB21.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB6
Deuteranopia (green-blind)
#496CAF
Tritanopia (blue-blind)
#AE436D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #aa2ab2;
/* rgb */ color: rgb(170, 42, 178);
/* oklch */ color: oklch(54.1% 0.220 325.4);
Tailwind
colors: {
  custom: {
    50: '#c772ca',
    500: '#aa2ab2',
    950: '#000000',
  },
}
SCSS
$custom: #aa2ab2;
$custom-light: #c772ca;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2ab2",
  "rgb": {
    "r": 170,
    "g": 42,
    "b": 178
  },
  "hsl": {
    "h": 296.471,
    "s": 61.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.54099,
    "c": 0.21968,
    "h": 325.4
  },
  "luminance": 0.13416
}

Semantic roles & 50–950 ramp

primary
#AA2AB2
secondary
#76C771
accent
#E5434C
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AA2AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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