#AA52CA#AA52CA

#AA52CA is a mid, vivid purple. Relative luminance 0.188; OKLCH L 59.7% C 0.191 H 316.1°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#AA52CA
RGBrgb(170, 82, 202)
HSLhsl(284, 53%, 56%)
HSVhsv(284, 59%, 79%)
CMYKcmyk(15.8%, 59.4%, 0%, 20.8%)
CIE-LABlab(50.51, 54.72, -47.38)
CIE-LCHlch(50.51, 72.38, 319.12°)
OKLaboklab(59.67% 0.1375 -0.1325)
OKLCHoklch(59.67% 0.191 316.1)
XYZxyz(30.2539, 18.8460, 57.9096)
Luminance0.1885 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA52CA #72CA52
analogous
#6E52CA #AA52CA #CA52AE
triadic
#AA52CA #CAAA52 #52CAAA
tetradic
#AA52CA #CA6E52 #72CA52 #52AECA
square
#AA52CA #CA6E52 #72CA52 #52AECA
split-complementary
#AA52CA #AECA52 #52CA6E
monochromatic
#65267C #8B34AB #AA52CA #C181D8 #D8B0E7

Accessibility & contrast

On white

4.40
#AA52CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#AA52CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA52CA
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA52CA#FFFFFF#000000##000000
##AA52CA1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3073CE
Deuteranopia (green-blind)
#537BC7
Tritanopia (blue-blind)
#A86686
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #aa52ca;
/* rgb */ color: rgb(170, 82, 202);
/* oklch */ color: oklch(59.7% 0.191 316.1);
Tailwind
colors: {
  custom: {
    50: '#c687db',
    500: '#aa52ca',
    950: '#000000',
  },
}
SCSS
$custom: #aa52ca;
$custom-light: #c687db;
$custom-dark: #000000;
JSON
{
  "hex": "#aa52ca",
  "rgb": {
    "r": 170,
    "g": 82,
    "b": 202
  },
  "hsl": {
    "h": 284,
    "s": 53.097,
    "l": 55.686
  },
  "oklch": {
    "l": 0.59669,
    "c": 0.19102,
    "h": 316.1
  },
  "luminance": 0.18845
}

Semantic roles & 50–950 ramp

primary
#AA52CA
secondary
#B0D5A3
accent
#DD4B72
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AA52CA

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

Preview Lab → · Contrast checker → · Palette generator →

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