#AA2BA4#AA2BA4

#AA2BA4 is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.4% C 0.208 H 330.1°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#AA2BA4
RGBrgb(170, 43, 164)
HSLhsl(303, 60%, 42%)
HSVhsv(303, 75%, 67%)
CMYKcmyk(0%, 74.7%, 3.5%, 33.3%)
CIE-LABlab(42.70, 63.65, -37.53)
CIE-LCHlch(42.70, 73.89, 329.47°)
OKLaboklab(53.35% 0.1803 -0.1036)
OKLCHoklch(53.35% 0.208 330.1)
XYZxyz(24.1422, 12.9560, 36.3440)
Luminance0.1295 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2BA4 #2BAA31
analogous
#712BAA #AA2BA4 #AA2B64
triadic
#AA2BA4 #A4AA2B #2BA4AA
tetradic
#AA2BA4 #AA712B #2BAA31 #2B64AA
square
#AA2BA4 #AA712B #2BAA31 #2B64AA
split-complementary
#AA2BA4 #64AA2B #2BAA71
monochromatic
#481246 #791F75 #AA2BA4 #CF43C9 #DC74D7

Accessibility & contrast

On white

5.85
#AA2BA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#AA2BA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2BA4
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2BA4#FFFFFF#000000##FFFFFF
##AA2BA41.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A5AA7
Deuteranopia (green-blind)
#526BA1
Tritanopia (blue-blind)
#B03C65
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #aa2ba4;
/* rgb */ color: rgb(170, 43, 164);
/* oklch */ color: oklch(53.4% 0.208 330.1);
Tailwind
colors: {
  custom: {
    50: '#c772bf',
    500: '#aa2ba4',
    950: '#000000',
  },
}
SCSS
$custom: #aa2ba4;
$custom-light: #c772bf;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2ba4",
  "rgb": {
    "r": 170,
    "g": 43,
    "b": 164
  },
  "hsl": {
    "h": 302.835,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.53351,
    "c": 0.20798,
    "h": 330.1
  },
  "luminance": 0.12954
}

Semantic roles & 50–950 ramp

primary
#AA2BA4
secondary
#6EC372
accent
#E34C45
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AA2BA4

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

Preview Lab → · Contrast checker → · Palette generator →

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