#AA2AC2#AA2AC2

#AA2AC2 is a mid, highly saturated purple. Relative luminance 0.141; OKLCH L 55.1% C 0.232 H 320.6°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#AA2AC2
RGBrgb(170, 42, 194)
HSLhsl(291, 64%, 46%)
HSVhsv(291, 78%, 76%)
CMYKcmyk(12.4%, 78.4%, 0%, 23.9%)
CIE-LABlab(44.37, 69.03, -52.56)
CIE-LCHlch(44.37, 86.76, 322.71°)
OKLaboklab(55.12% 0.1795 -0.1474)
OKLCHoklch(55.12% 0.232 320.6)
XYZxyz(27.1420, 14.0985, 52.3201)
Luminance0.1410 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2AC2 #42C22A
analogous
#5E2AC2 #AA2AC2 #C22A8E
triadic
#AA2AC2 #C2AA2A #2AC2AA
tetradic
#AA2AC2 #C25E2A #42C22A #2A8EC2
square
#AA2AC2 #C25E2A #42C22A #2A8EC2
split-complementary
#AA2AC2 #8EC22A #2AC25E
monochromatic
#52145D #7E1F90 #AA2AC2 #C350D9 #D582E4

Accessibility & contrast

On white

5.50
#AA2AC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#AA2AC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2AC2
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2AC2#FFFFFF#000000##FFFFFF
##AA2AC21.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C6
Deuteranopia (green-blind)
#3C6DBF
Tritanopia (blue-blind)
#AB4B76
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #aa2ac2;
/* rgb */ color: rgb(170, 42, 194);
/* oklch */ color: oklch(55.1% 0.232 320.6);
Tailwind
colors: {
  custom: {
    50: '#c873d5',
    500: '#aa2ac2',
    950: '#000000',
  },
}
SCSS
$custom: #aa2ac2;
$custom-light: #c873d5;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2ac2",
  "rgb": {
    "r": 170,
    "g": 42,
    "b": 194
  },
  "hsl": {
    "h": 290.526,
    "s": 64.407,
    "l": 46.275
  },
  "oklch": {
    "l": 0.55115,
    "c": 0.2323,
    "h": 320.6
  },
  "luminance": 0.14097
}

Semantic roles & 50–950 ramp

primary
#AA2AC2
secondary
#88CD7B
accent
#E7405B
background
#FCF7FD
surface
#F9EDFA
border
#D2C8D3
text
#140914
muted
#827B83

Preview Lab

Preview with #AA2AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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