#AA2BA2#AA2BA2

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

Color values

HEX#AA2BA2
RGBrgb(170, 43, 162)
HSLhsl(304, 60%, 42%)
HSVhsv(304, 75%, 67%)
CMYKcmyk(0%, 74.7%, 4.7%, 33.3%)
CIE-LABlab(42.59, 63.33, -36.51)
CIE-LCHlch(42.59, 73.10, 330.04°)
OKLaboklab(53.24% 0.1803 -0.1007)
OKLCHoklch(53.24% 0.206 330.8)
XYZxyz(23.9630, 12.8843, 35.4003)
Luminance0.1288 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2BA2 #2BAA33
analogous
#732BAA #AA2BA2 #AA2B62
triadic
#AA2BA2 #A2AA2B #2BA2AA
tetradic
#AA2BA2 #AA732B #2BAA33 #2B62AA
square
#AA2BA2 #AA732B #2BAA33 #2B62AA
split-complementary
#AA2BA2 #62AA2B #2BAA73
monochromatic
#481245 #791F73 #AA2BA2 #CF43C7 #DC74D5

Accessibility & contrast

On white

5.87
#AA2BA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#AA2BA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2BA2
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2BA2#FFFFFF#000000##FFFFFF
##AA2BA21.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D59A5
Deuteranopia (green-blind)
#536B9F
Tritanopia (blue-blind)
#B13B64
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #aa2ba2;
/* rgb */ color: rgb(170, 43, 162);
/* oklch */ color: oklch(53.2% 0.206 330.8);
Tailwind
colors: {
  custom: {
    50: '#c772be',
    500: '#aa2ba2',
    950: '#000000',
  },
}
SCSS
$custom: #aa2ba2;
$custom-light: #c772be;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2ba2",
  "rgb": {
    "r": 170,
    "g": 43,
    "b": 162
  },
  "hsl": {
    "h": 303.78,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.53238,
    "c": 0.20648,
    "h": 330.8
  },
  "luminance": 0.12882
}

Semantic roles & 50–950 ramp

primary
#AA2BA2
secondary
#6EC373
accent
#E34F45
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AA2BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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