#AA2BA6#AA2BA6

#AA2BA6 is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.5% C 0.209 H 329.4°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#AA2BA6
RGBrgb(170, 43, 166)
HSLhsl(302, 60%, 42%)
HSVhsv(302, 75%, 67%)
CMYKcmyk(0%, 74.7%, 2.4%, 33.3%)
CIE-LABlab(42.81, 63.97, -38.55)
CIE-LCHlch(42.81, 74.69, 328.92°)
OKLaboklab(53.47% 0.1803 -0.1066)
OKLCHoklch(53.47% 0.209 329.4)
XYZxyz(24.3242, 13.0288, 37.3027)
Luminance0.1303 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2BA6 #2BAA2F
analogous
#6F2BAA #AA2BA6 #AA2B67
triadic
#AA2BA6 #A6AA2B #2BA6AA
tetradic
#AA2BA6 #AA6F2B #2BAA2F #2B67AA
square
#AA2BA6 #AA6F2B #2BAA2F #2B67AA
split-complementary
#AA2BA6 #67AA2B #2BAA6F
monochromatic
#481247 #791F76 #AA2BA6 #CF43CB #DC74D8

Accessibility & contrast

On white

5.82
#AA2BA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#AA2BA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2BA6
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2BA6#FFFFFF#000000##FFFFFF
##AA2BA61.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#175AA9
Deuteranopia (green-blind)
#516BA3
Tritanopia (blue-blind)
#B03D67
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #aa2ba6;
/* rgb */ color: rgb(170, 43, 166);
/* oklch */ color: oklch(53.5% 0.209 329.4);
Tailwind
colors: {
  custom: {
    50: '#c772c1',
    500: '#aa2ba6',
    950: '#000000',
  },
}
SCSS
$custom: #aa2ba6;
$custom-light: #c772c1;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2ba6",
  "rgb": {
    "r": 170,
    "g": 43,
    "b": 166
  },
  "hsl": {
    "h": 301.89,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.53465,
    "c": 0.20949,
    "h": 329.4
  },
  "luminance": 0.13027
}

Semantic roles & 50–950 ramp

primary
#AA2BA6
secondary
#6EC370
accent
#E34A45
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AA2BA6

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

Preview Lab → · Contrast checker → · Palette generator →

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