#AA2BA5#AA2BA5

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

Color values

HEX#AA2BA5
RGBrgb(170, 43, 165)
HSLhsl(302, 60%, 42%)
HSVhsv(302, 75%, 67%)
CMYKcmyk(0%, 74.7%, 2.9%, 33.3%)
CIE-LABlab(42.75, 63.81, -38.04)
CIE-LCHlch(42.75, 74.29, 329.20°)
OKLaboklab(53.41% 0.1803 -0.1051)
OKLCHoklch(53.41% 0.209 329.8)
XYZxyz(24.2328, 12.9923, 36.8215)
Luminance0.1299 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2BA5 #2BAA30
analogous
#702BAA #AA2BA5 #AA2B66
triadic
#AA2BA5 #A5AA2B #2BA5AA
tetradic
#AA2BA5 #AA702B #2BAA30 #2B66AA
square
#AA2BA5 #AA702B #2BAA30 #2B66AA
split-complementary
#AA2BA5 #66AA2B #2BAA70
monochromatic
#481246 #791F76 #AA2BA5 #CF43CA #DC74D8

Accessibility & contrast

On white

5.84
#AA2BA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#AA2BA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2BA5
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2BA5#FFFFFF#000000##FFFFFF
##AA2BA51.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#195AA8
Deuteranopia (green-blind)
#516BA2
Tritanopia (blue-blind)
#B03D66
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #aa2ba5;
/* rgb */ color: rgb(170, 43, 165);
/* oklch */ color: oklch(53.4% 0.209 329.8);
Tailwind
colors: {
  custom: {
    50: '#c772c0',
    500: '#aa2ba5',
    950: '#000000',
  },
}
SCSS
$custom: #aa2ba5;
$custom-light: #c772c0;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2ba5",
  "rgb": {
    "r": 170,
    "g": 43,
    "b": 165
  },
  "hsl": {
    "h": 302.362,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.53408,
    "c": 0.20874,
    "h": 329.8
  },
  "luminance": 0.1299
}

Semantic roles & 50–950 ramp

primary
#AA2BA5
secondary
#6EC371
accent
#E34B45
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AA2BA5

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

Preview Lab → · Contrast checker → · Palette generator →

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