#AA2AB8#AA2AB8

#AA2AB8 is a mid, highly saturated purple. Relative luminance 0.137; OKLCH L 54.5% C 0.224 H 323.6°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#AA2AB8
RGBrgb(170, 42, 184)
HSLhsl(294, 63%, 44%)
HSVhsv(294, 77%, 72%)
CMYKcmyk(7.6%, 77.2%, 0%, 27.8%)
CIE-LABlab(43.75, 67.28, -47.71)
CIE-LCHlch(43.75, 82.48, 324.66°)
OKLaboklab(54.47% 0.1805 -0.1333)
OKLCHoklch(54.47% 0.224 323.6)
XYZxyz(26.0565, 13.6643, 46.6031)
Luminance0.1366 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2AB8 #38B82A
analogous
#632AB8 #AA2AB8 #B82A7F
triadic
#AA2AB8 #B8AA2A #2AB8AA
tetradic
#AA2AB8 #B8632A #38B82A #2A7FB8
square
#AA2AB8 #B8632A #38B82A #2A7FB8
split-complementary
#AA2AB8 #7FB82A #2AB863
monochromatic
#4E1354 #7C1F86 #AA2AB8 #C84AD6 #D77BE1

Accessibility & contrast

On white

5.63
#AA2AB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#AA2AB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2AB8
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2AB8#FFFFFF#000000##FFFFFF
##AA2AB81.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBC
Deuteranopia (green-blind)
#446CB5
Tritanopia (blue-blind)
#AD4670
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #aa2ab8;
/* rgb */ color: rgb(170, 42, 184);
/* oklch */ color: oklch(54.5% 0.224 323.6);
Tailwind
colors: {
  custom: {
    50: '#c773ce',
    500: '#aa2ab8',
    950: '#000000',
  },
}
SCSS
$custom: #aa2ab8;
$custom-light: #c773ce;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2ab8",
  "rgb": {
    "r": 170,
    "g": 42,
    "b": 184
  },
  "hsl": {
    "h": 294.085,
    "s": 62.832,
    "l": 44.314
  },
  "oklch": {
    "l": 0.54472,
    "c": 0.22437,
    "h": 323.6
  },
  "luminance": 0.13663
}

Semantic roles & 50–950 ramp

primary
#AA2AB8
secondary
#7DC975
accent
#E64252
background
#FCF7FC
surface
#F9EDF9
border
#D2C8D2
text
#140914
muted
#827B82

Preview Lab

Preview with #AA2AB8

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

Preview Lab → · Contrast checker → · Palette generator →

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