#AA52C3#AA52C3

#AA52C3 is a mid, vivid purple. Relative luminance 0.185; OKLCH L 59.3% C 0.184 H 318.2°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#AA52C3
RGBrgb(170, 82, 195)
HSLhsl(287, 48%, 54%)
HSVhsv(287, 58%, 76%)
CMYKcmyk(12.8%, 57.9%, 0%, 23.5%)
CIE-LABlab(50.12, 53.30, -43.96)
CIE-LCHlch(50.12, 69.09, 320.49°)
OKLaboklab(59.27% 0.1373 -0.1226)
OKLCHoklch(59.27% 0.184 318.2)
XYZxyz(29.4438, 18.5219, 53.6433)
Luminance0.1852 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA52C3 #6BC352
analogous
#7252C3 #AA52C3 #C352A3
triadic
#AA52C3 #C3AA52 #52C3AA
tetradic
#AA52C3 #C37252 #6BC352 #52A3C3
square
#AA52C3 #C37252 #6BC352 #52A3C3
split-complementary
#AA52C3 #A3C352 #52C372
monochromatic
#622873 #8938A0 #AA52C3 #C07FD3 #D7ADE3

Accessibility & contrast

On white

4.46
#AA52C3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#AA52C3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA52C3
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA52C3#FFFFFF#000000##000000
##AA52C31.004.464.704.70
#FFFFFF4.461.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3771C7
Deuteranopia (green-blind)
#577AC0
Tritanopia (blue-blind)
#AA6483
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #aa52c3;
/* rgb */ color: rgb(170, 82, 195);
/* oklch */ color: oklch(59.3% 0.184 318.2);
Tailwind
colors: {
  custom: {
    50: '#c687d6',
    500: '#aa52c3',
    950: '#000000',
  },
}
SCSS
$custom: #aa52c3;
$custom-light: #c687d6;
$custom-dark: #000000;
JSON
{
  "hex": "#aa52c3",
  "rgb": {
    "r": 170,
    "g": 82,
    "b": 195
  },
  "hsl": {
    "h": 286.726,
    "s": 48.498,
    "l": 54.314
  },
  "oklch": {
    "l": 0.59266,
    "c": 0.18404,
    "h": 318.2
  },
  "luminance": 0.18521
}

Semantic roles & 50–950 ramp

primary
#AA52C3
secondary
#ABD0A0
accent
#D8506E
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130C14
muted
#827D83

Preview Lab

Preview with #AA52C3

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

Preview Lab → · Contrast checker → · Palette generator →

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