#AA52CB#AA52CB

#AA52CB is a mid, vivid purple. Relative luminance 0.189; OKLCH L 59.7% C 0.192 H 315.8°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#AA52CB
RGBrgb(170, 82, 203)
HSLhsl(284, 54%, 56%)
HSVhsv(284, 60%, 80%)
CMYKcmyk(16.3%, 59.6%, 0%, 20.4%)
CIE-LABlab(50.56, 54.93, -47.86)
CIE-LCHlch(50.56, 72.86, 318.93°)
OKLaboklab(59.73% 0.1376 -0.134)
OKLCHoklch(59.73% 0.192 315.8)
XYZxyz(30.3727, 18.8935, 58.5352)
Luminance0.1889 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA52CB #73CB52
analogous
#6D52CB #AA52CB #CB52B0
triadic
#AA52CB #CBAA52 #52CBAA
tetradic
#AA52CB #CB6D52 #73CB52 #52B0CB
square
#AA52CB #CB6D52 #73CB52 #52B0CB
split-complementary
#AA52CB #B0CB52 #52CB6D
monochromatic
#65267D #8B34AC #AA52CB #C181D9 #D8B0E7

Accessibility & contrast

On white

4.39
#AA52CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#AA52CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA52CB
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA52CB#FFFFFF#000000##000000
##AA52CB1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E73CF
Deuteranopia (green-blind)
#527BC8
Tritanopia (blue-blind)
#A86787
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #aa52cb;
/* rgb */ color: rgb(170, 82, 203);
/* oklch */ color: oklch(59.7% 0.192 315.8);
Tailwind
colors: {
  custom: {
    50: '#c687db',
    500: '#aa52cb',
    950: '#000000',
  },
}
SCSS
$custom: #aa52cb;
$custom-light: #c687db;
$custom-dark: #000000;
JSON
{
  "hex": "#aa52cb",
  "rgb": {
    "r": 170,
    "g": 82,
    "b": 203
  },
  "hsl": {
    "h": 283.636,
    "s": 53.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.59728,
    "c": 0.19202,
    "h": 315.8
  },
  "luminance": 0.18892
}

Semantic roles & 50–950 ramp

primary
#AA52CB
secondary
#B1D5A3
accent
#DD4B73
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AA52CB

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

Preview Lab → · Contrast checker → · Palette generator →

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