#AA519D#AA519D

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

Color values

HEX#AA519D
RGBrgb(170, 81, 157)
HSLhsl(309, 35%, 49%)
HSVhsv(309, 52%, 67%)
CMYKcmyk(0%, 52.4%, 7.6%, 33.3%)
CIE-LABlab(48.09, 46.67, -24.91)
CIE-LCHlch(48.09, 52.90, 331.90°)
OKLaboklab(57.17% 0.134 -0.0677)
OKLCHoklch(57.17% 0.15 333.2)
XYZxyz(25.6058, 16.8669, 33.7987)
Luminance0.1686 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA519D #51AA5E
analogous
#8B51AA #AA519D #AA5171
triadic
#AA519D #9DAA51 #519DAA
tetradic
#AA519D #AA8B51 #51AA5E #5171AA
square
#AA519D #AA8B51 #51AA5E #5171AA
split-complementary
#AA519D #71AA51 #51AA8B
monochromatic
#572A50 #813D77 #AA519D #BF79B5 #D3A2CC

Accessibility & contrast

On white

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

On black

4.37
#AA519D on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##AA519D#FFFFFF#000000##FFFFFF
##AA519D1.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F6AA0
Deuteranopia (green-blind)
#69779A
Tritanopia (blue-blind)
#B15770
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #aa519d;
/* rgb */ color: rgb(170, 81, 157);
/* oklch */ color: oklch(57.2% 0.150 333.2);
Tailwind
colors: {
  custom: {
    50: '#c586ba',
    500: '#aa519d',
    950: '#000000',
  },
}
SCSS
$custom: #aa519d;
$custom-light: #c586ba;
$custom-dark: #000000;
JSON
{
  "hex": "#aa519d",
  "rgb": {
    "r": 170,
    "g": 81,
    "b": 157
  },
  "hsl": {
    "h": 308.764,
    "s": 35.458,
    "l": 49.216
  },
  "oklch": {
    "l": 0.57171,
    "c": 0.1501,
    "h": 333.2
  },
  "luminance": 0.16865
}

Semantic roles & 50–950 ramp

primary
#AA519D
secondary
#97C09D
accent
#CB6D5C
background
#FCF8FB
surface
#F8F0F6
border
#D1CBD0
text
#130B11
muted
#827C80

Preview Lab

Preview with #AA519D

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

Preview Lab → · Contrast checker → · Palette generator →

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