#AA52C8#AA52C8

#AA52C8 is a mid, vivid purple. Relative luminance 0.188; OKLCH L 59.6% C 0.189 H 316.7°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#AA52C8
RGBrgb(170, 82, 200)
HSLhsl(285, 52%, 55%)
HSVhsv(285, 59%, 78%)
CMYKcmyk(15%, 59%, 0%, 21.6%)
CIE-LABlab(50.40, 54.32, -46.40)
CIE-LCHlch(50.40, 71.44, 319.49°)
OKLaboklab(59.55% 0.1375 -0.1297)
OKLCHoklch(59.55% 0.189 316.7)
XYZxyz(30.0186, 18.7518, 56.6706)
Luminance0.1875 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA52C8 #70C852
analogous
#6F52C8 #AA52C8 #C852AB
triadic
#AA52C8 #C8AA52 #52C8AA
tetradic
#AA52C8 #C86F52 #70C852 #52ABC8
square
#AA52C8 #C86F52 #70C852 #52ABC8
split-complementary
#AA52C8 #ABC852 #52C86F
monochromatic
#642779 #8A35A8 #AA52C8 #C180D7 #D8AFE6

Accessibility & contrast

On white

4.42
#AA52C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#AA52C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA52C8
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA52C8#FFFFFF#000000##000000
##AA52C81.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3272CC
Deuteranopia (green-blind)
#547BC5
Tritanopia (blue-blind)
#A96685
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #aa52c8;
/* rgb */ color: rgb(170, 82, 200);
/* oklch */ color: oklch(59.6% 0.189 316.7);
Tailwind
colors: {
  custom: {
    50: '#c687d9',
    500: '#aa52c8',
    950: '#000000',
  },
}
SCSS
$custom: #aa52c8;
$custom-light: #c687d9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa52c8",
  "rgb": {
    "r": 170,
    "g": 82,
    "b": 200
  },
  "hsl": {
    "h": 284.746,
    "s": 51.754,
    "l": 55.294
  },
  "oklch": {
    "l": 0.59553,
    "c": 0.18901,
    "h": 316.7
  },
  "luminance": 0.18751
}

Semantic roles & 50–950 ramp

primary
#AA52C8
secondary
#AFD4A2
accent
#DB4D71
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130C15
muted
#827D83

Preview Lab

Preview with #AA52C8

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

Preview Lab → · Contrast checker → · Palette generator →

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