#AA2AAB#AA2AAB

#AA2AAB is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.7% C 0.214 H 327.7°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#AA2AAB
RGBrgb(170, 42, 171)
HSLhsl(300, 61%, 42%)
HSVhsv(300, 75%, 67%)
CMYKcmyk(0.6%, 75.4%, 0%, 32.9%)
CIE-LABlab(42.98, 65.09, -41.26)
CIE-LCHlch(42.98, 77.06, 327.63°)
OKLaboklab(53.68% 0.1812 -0.1144)
OKLCHoklch(53.68% 0.214 327.7)
XYZxyz(24.7559, 13.1441, 39.7534)
Luminance0.1314 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2AAB #2BAB2A
analogous
#6A2AAB #AA2AAB #AB2A6C
triadic
#AA2AAB #ABAA2A #2AABAA
tetradic
#AA2AAB #AB6A2A #2BAB2A #2A6CAB
square
#AA2AAB #AB6A2A #2BAB2A #2A6CAB
split-complementary
#AA2AAB #6CAB2A #2AAB6A
monochromatic
#481249 #791E7A #AA2AAB #CF42D1 #DC73DD

Accessibility & contrast

On white

5.79
#AA2AAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#AA2AAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2AAB
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2AAB#FFFFFF#000000##FFFFFF
##AA2AAB1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#075BAE
Deuteranopia (green-blind)
#4D6BA8
Tritanopia (blue-blind)
#AF3F69
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #aa2aab;
/* rgb */ color: rgb(170, 42, 171);
/* oklch */ color: oklch(53.7% 0.214 327.7);
Tailwind
colors: {
  custom: {
    50: '#c772c4',
    500: '#aa2aab',
    950: '#000000',
  },
}
SCSS
$custom: #aa2aab;
$custom-light: #c772c4;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2aab",
  "rgb": {
    "r": 170,
    "g": 42,
    "b": 171
  },
  "hsl": {
    "h": 299.535,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.53679,
    "c": 0.2143,
    "h": 327.7
  },
  "luminance": 0.13142
}

Semantic roles & 50–950 ramp

primary
#AA2AAB
secondary
#6EC46D
accent
#E44445
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AA2AAB

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

Preview Lab → · Contrast checker → · Palette generator →

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