#AA52CC#AA52CC

#AA52CC is a mid, vivid purple. Relative luminance 0.189; OKLCH L 59.8% C 0.193 H 315.5°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#AA52CC
RGBrgb(170, 82, 204)
HSLhsl(283, 54%, 56%)
HSVhsv(283, 60%, 80%)
CMYKcmyk(16.7%, 59.8%, 0%, 20%)
CIE-LABlab(50.62, 55.14, -48.34)
CIE-LCHlch(50.62, 73.33, 318.75°)
OKLaboklab(59.79% 0.1376 -0.1354)
OKLCHoklch(59.79% 0.193 315.5)
XYZxyz(30.4922, 18.9413, 59.1648)
Luminance0.1894 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA52CC #74CC52
analogous
#6D52CC #AA52CC #CC52B1
triadic
#AA52CC #CCAA52 #52CCAA
tetradic
#AA52CC #CC6D52 #74CC52 #52B1CC
square
#AA52CC #CC6D52 #74CC52 #52B1CC
split-complementary
#AA52CC #B1CC52 #52CC6D
monochromatic
#66257E #8B33AE #AA52CC #C181DA #D8B1E8

Accessibility & contrast

On white

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

On black

4.79
#AA52CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA52CC
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA52CC#FFFFFF#000000##000000
##AA52CC1.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D73D0
Deuteranopia (green-blind)
#517BC9
Tritanopia (blue-blind)
#A86787
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #aa52cc;
/* rgb */ color: rgb(170, 82, 204);
/* oklch */ color: oklch(59.8% 0.193 315.5);
Tailwind
colors: {
  custom: {
    50: '#c687dc',
    500: '#aa52cc',
    950: '#000000',
  },
}
SCSS
$custom: #aa52cc;
$custom-light: #c687dc;
$custom-dark: #000000;
JSON
{
  "hex": "#aa52cc",
  "rgb": {
    "r": 170,
    "g": 82,
    "b": 204
  },
  "hsl": {
    "h": 283.279,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.59787,
    "c": 0.19303,
    "h": 315.5
  },
  "luminance": 0.1894
}

Semantic roles & 50–950 ramp

primary
#AA52CC
secondary
#B2D6A4
accent
#DE4A73
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AA52CC

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

Preview Lab → · Contrast checker → · Palette generator →

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