#AA50A2#AA50A2

#AA50A2 is a mid, vivid purple. Relative luminance 0.169; OKLCH L 57.3% C 0.156 H 330.9°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#AA50A2
RGBrgb(170, 80, 162)
HSLhsl(305, 36%, 49%)
HSVhsv(305, 53%, 67%)
CMYKcmyk(0%, 52.9%, 4.7%, 33.3%)
CIE-LABlab(48.13, 48.04, -27.82)
CIE-LCHlch(48.13, 55.51, 329.92°)
OKLaboklab(57.27% 0.1363 -0.076)
OKLCHoklch(57.27% 0.156 330.9)
XYZxyz(25.9676, 16.8936, 36.0685)
Luminance0.1689 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA50A2 #50AA58
analogous
#8550AA #AA50A2 #AA5075
triadic
#AA50A2 #A2AA50 #50A2AA
tetradic
#AA50A2 #AA8550 #50AA58 #5075AA
square
#AA50A2 #AA8550 #50AA58 #5075AA
split-complementary
#AA50A2 #75AA50 #50AA85
monochromatic
#572953 #803C7A #AA50A2 #BF78B9 #D3A1CF

Accessibility & contrast

On white

4.80
#AA50A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#AA50A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA50A2
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA50A2#FFFFFF#000000##FFFFFF
##AA50A21.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C6AA5
Deuteranopia (green-blind)
#67779F
Tritanopia (blue-blind)
#B05872
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #aa50a2;
/* rgb */ color: rgb(170, 80, 162);
/* oklch */ color: oklch(57.3% 0.156 330.9);
Tailwind
colors: {
  custom: {
    50: '#c585be',
    500: '#aa50a2',
    950: '#000000',
  },
}
SCSS
$custom: #aa50a2;
$custom-light: #c585be;
$custom-dark: #000000;
JSON
{
  "hex": "#aa50a2",
  "rgb": {
    "r": 170,
    "g": 80,
    "b": 162
  },
  "hsl": {
    "h": 305.333,
    "s": 36,
    "l": 49.02
  },
  "oklch": {
    "l": 0.57268,
    "c": 0.15606,
    "h": 330.9
  },
  "luminance": 0.16892
}

Semantic roles & 50–950 ramp

primary
#AA50A2
secondary
#96C099
accent
#CC665C
background
#FCF8FB
surface
#F8EFF6
border
#D1CAD0
text
#130B12
muted
#827C81

Preview Lab

Preview with #AA50A2

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

Preview Lab → · Contrast checker → · Palette generator →

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