#AA52C5#AA52C5

#AA52C5 is a mid, vivid purple. Relative luminance 0.186; OKLCH L 59.4% C 0.186 H 317.6°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#AA52C5
RGBrgb(170, 82, 197)
HSLhsl(286, 50%, 55%)
HSVhsv(286, 58%, 77%)
CMYKcmyk(13.7%, 58.4%, 0%, 22.7%)
CIE-LABlab(50.23, 53.71, -44.94)
CIE-LCHlch(50.23, 70.03, 320.08°)
OKLaboklab(59.38% 0.1374 -0.1254)
OKLCHoklch(59.38% 0.186 317.6)
XYZxyz(29.6715, 18.6130, 54.8422)
Luminance0.1861 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA52C5 #6DC552
analogous
#7152C5 #AA52C5 #C552A7
triadic
#AA52C5 #C5AA52 #52C5AA
tetradic
#AA52C5 #C57152 #6DC552 #52A7C5
square
#AA52C5 #C57152 #6DC552 #52A7C5
split-complementary
#AA52C5 #A7C552 #52C571
monochromatic
#632775 #8A37A3 #AA52C5 #C180D4 #D7AEE4

Accessibility & contrast

On white

4.45
#AA52C5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#AA52C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA52C5
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA52C5#FFFFFF#000000##000000
##AA52C51.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3572C9
Deuteranopia (green-blind)
#567AC2
Tritanopia (blue-blind)
#A96584
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #aa52c5;
/* rgb */ color: rgb(170, 82, 197);
/* oklch */ color: oklch(59.4% 0.186 317.6);
Tailwind
colors: {
  custom: {
    50: '#c687d7',
    500: '#aa52c5',
    950: '#000000',
  },
}
SCSS
$custom: #aa52c5;
$custom-light: #c687d7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa52c5",
  "rgb": {
    "r": 170,
    "g": 82,
    "b": 197
  },
  "hsl": {
    "h": 285.913,
    "s": 49.784,
    "l": 54.706
  },
  "oklch": {
    "l": 0.5938,
    "c": 0.18603,
    "h": 317.6
  },
  "luminance": 0.18612
}

Semantic roles & 50–950 ramp

primary
#AA52C5
secondary
#ADD2A1
accent
#D94E6F
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130C14
muted
#827D83

Preview Lab

Preview with #AA52C5

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

Preview Lab → · Contrast checker → · Palette generator →

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