#AA2BA1#AA2BA1

#AA2BA1 is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.2% C 0.206 H 331.2°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#AA2BA1
RGBrgb(170, 43, 161)
HSLhsl(304, 60%, 42%)
HSVhsv(304, 75%, 67%)
CMYKcmyk(0%, 74.7%, 5.3%, 33.3%)
CIE-LABlab(42.53, 63.17, -36.00)
CIE-LCHlch(42.53, 72.71, 330.33°)
OKLaboklab(53.18% 0.1803 -0.0992)
OKLCHoklch(53.18% 0.206 331.2)
XYZxyz(23.8744, 12.8489, 34.9340)
Luminance0.1285 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2BA1 #2BAA34
analogous
#742BAA #AA2BA1 #AA2B62
triadic
#AA2BA1 #A1AA2B #2BA1AA
tetradic
#AA2BA1 #AA742B #2BAA34 #2B62AA
square
#AA2BA1 #AA742B #2BAA34 #2B62AA
split-complementary
#AA2BA1 #62AA2B #2BAA74
monochromatic
#481244 #791F73 #AA2BA1 #CF43C5 #DC74D4

Accessibility & contrast

On white

5.88
#AA2BA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#AA2BA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2BA1
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2BA1#FFFFFF#000000##FFFFFF
##AA2BA11.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F59A4
Deuteranopia (green-blind)
#536B9E
Tritanopia (blue-blind)
#B13B64
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #aa2ba1;
/* rgb */ color: rgb(170, 43, 161);
/* oklch */ color: oklch(53.2% 0.206 331.2);
Tailwind
colors: {
  custom: {
    50: '#c772bd',
    500: '#aa2ba1',
    950: '#000000',
  },
}
SCSS
$custom: #aa2ba1;
$custom-light: #c772bd;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2ba1",
  "rgb": {
    "r": 170,
    "g": 43,
    "b": 161
  },
  "hsl": {
    "h": 304.252,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.53182,
    "c": 0.20575,
    "h": 331.2
  },
  "luminance": 0.12847
}

Semantic roles & 50–950 ramp

primary
#AA2BA1
secondary
#6EC374
accent
#E35045
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AA2BA1

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

Preview Lab → · Contrast checker → · Palette generator →

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