#AA52AE#AA52AE

#AA52AE is a mid, vivid purple. Relative luminance 0.176; OKLCH L 58.1% C 0.164 H 325.8°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#AA52AE
RGBrgb(170, 82, 174)
HSLhsl(297, 36%, 50%)
HSVhsv(297, 53%, 68%)
CMYKcmyk(2.3%, 52.9%, 0%, 31.8%)
CIE-LABlab(49.05, 49.23, -33.43)
CIE-LCHlch(49.05, 59.51, 325.82°)
OKLaboklab(58.14% 0.1353 -0.0921)
OKLCHoklch(58.14% 0.164 325.8)
XYZxyz(27.2343, 17.6381, 42.0062)
Luminance0.1764 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA52AE #56AE52
analogous
#7C52AE #AA52AE #AE5284
triadic
#AA52AE #AEAA52 #52AEAA
tetradic
#AA52AE #AE7C52 #56AE52 #5284AE
square
#AA52AE #AE7C52 #56AE52 #5284AE
split-complementary
#AA52AE #84AE52 #52AE7C
monochromatic
#592B5B #823E85 #AA52AE #BE7CC2 #D3A5D5

Accessibility & contrast

On white

4.64
#AA52AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#AA52AE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AA52AE
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA52AE#FFFFFF#000000##FFFFFF
##AA52AE1.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#476DB1
Deuteranopia (green-blind)
#6378AB
Tritanopia (blue-blind)
#AE5D78
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #aa52ae;
/* rgb */ color: rgb(170, 82, 174);
/* oklch */ color: oklch(58.1% 0.164 325.8);
Tailwind
colors: {
  custom: {
    50: '#c587c6',
    500: '#aa52ae',
    950: '#000000',
  },
}
SCSS
$custom: #aa52ae;
$custom-light: #c587c6;
$custom-dark: #000000;
JSON
{
  "hex": "#aa52ae",
  "rgb": {
    "r": 170,
    "g": 82,
    "b": 174
  },
  "hsl": {
    "h": 297.391,
    "s": 36.22,
    "l": 50.196
  },
  "oklch": {
    "l": 0.58135,
    "c": 0.1637,
    "h": 325.8
  },
  "luminance": 0.17637
}

Semantic roles & 50–950 ramp

primary
#AA52AE
secondary
#9BC299
accent
#CC5C60
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #AA52AE

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

Preview Lab → · Contrast checker → · Palette generator →

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