#AA52CE#AA52CE

#AA52CE is a mid, vivid purple. Relative luminance 0.190; OKLCH L 59.9% C 0.195 H 314.9°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#AA52CE
RGBrgb(170, 82, 206)
HSLhsl(283, 56%, 56%)
HSVhsv(283, 60%, 81%)
CMYKcmyk(17.5%, 60.2%, 0%, 19.2%)
CIE-LABlab(50.73, 55.55, -49.31)
CIE-LCHlch(50.73, 74.28, 318.40°)
OKLaboklab(59.91% 0.1376 -0.1382)
OKLCHoklch(59.91% 0.195 314.9)
XYZxyz(30.7336, 19.0378, 60.4363)
Luminance0.1904 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA52CE #76CE52
analogous
#6C52CE #AA52CE #CE52B4
triadic
#AA52CE #CEAA52 #52CEAA
tetradic
#AA52CE #CE6C52 #76CE52 #52B4CE
square
#AA52CE #CE6C52 #76CE52 #52B4CE
split-complementary
#AA52CE #B4CE52 #52CE6C
monochromatic
#662581 #8C32B1 #AA52CE #C182DC #D9B1E9

Accessibility & contrast

On white

4.37
#AA52CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#AA52CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA52CE
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA52CE#FFFFFF#000000##000000
##AA52CE1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A74D2
Deuteranopia (green-blind)
#507BCB
Tritanopia (blue-blind)
#A76888
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #aa52ce;
/* rgb */ color: rgb(170, 82, 206);
/* oklch */ color: oklch(59.9% 0.195 314.9);
Tailwind
colors: {
  custom: {
    50: '#c687dd',
    500: '#aa52ce',
    950: '#000000',
  },
}
SCSS
$custom: #aa52ce;
$custom-light: #c687dd;
$custom-dark: #000000;
JSON
{
  "hex": "#aa52ce",
  "rgb": {
    "r": 170,
    "g": 82,
    "b": 206
  },
  "hsl": {
    "h": 282.581,
    "s": 55.856,
    "l": 56.471
  },
  "oklch": {
    "l": 0.59906,
    "c": 0.19503,
    "h": 314.9
  },
  "luminance": 0.19037
}

Semantic roles & 50–950 ramp

primary
#AA52CE
secondary
#B3D7A4
accent
#DF4974
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AA52CE

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

Preview Lab → · Contrast checker → · Palette generator →

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