#AA52DD#AA52DD

#AA52DD is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 60.8% C 0.210 H 310.8°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#AA52DD
RGBrgb(170, 82, 221)
HSLhsl(278, 67%, 59%)
HSVhsv(278, 63%, 87%)
CMYKcmyk(23.1%, 62.9%, 0%, 13.3%)
CIE-LABlab(51.61, 58.72, -56.45)
CIE-LCHlch(51.61, 81.45, 316.13°)
OKLaboklab(60.83% 0.1374 -0.1591)
OKLCHoklch(60.83% 0.21 310.8)
XYZxyz(32.6435, 19.8018, 70.4951)
Luminance0.1980 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA52DD #85DD52
analogous
#6552DD #AA52DD #DD52CA
triadic
#AA52DD #DDAA52 #52DDAA
tetradic
#AA52DD #DD6552 #85DD52 #52CADD
square
#AA52DD #DD6552 #85DD52 #52CADD
split-complementary
#AA52DD #CADD52 #52DD65
monochromatic
#6A1E97 #8F28CA #AA52DD #C385E7 #DCB8F1

Accessibility & contrast

On white

4.23
#AA52DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#AA52DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA52DD
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA52DD#FFFFFF#000000##000000
##AA52DD1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0677E1
Deuteranopia (green-blind)
#437DDA
Tritanopia (blue-blind)
#A46D90
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #aa52dd;
/* rgb */ color: rgb(170, 82, 221);
/* oklch */ color: oklch(60.8% 0.210 310.8);
Tailwind
colors: {
  custom: {
    50: '#c788e8',
    500: '#aa52dd',
    950: '#000000',
  },
}
SCSS
$custom: #aa52dd;
$custom-light: #c788e8;
$custom-dark: #000000;
JSON
{
  "hex": "#aa52dd",
  "rgb": {
    "r": 170,
    "g": 82,
    "b": 221
  },
  "hsl": {
    "h": 277.986,
    "s": 67.15,
    "l": 59.412
  },
  "oklch": {
    "l": 0.60827,
    "c": 0.21022,
    "h": 310.8
  },
  "luminance": 0.19801
}

Semantic roles & 50–950 ramp

primary
#AA52DD
secondary
#BEE0AA
accent
#EA3E7D
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AA52DD

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

Preview Lab → · Contrast checker → · Palette generator →

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