#AA52D9#AA52D9

#AA52D9 is a mid, highly saturated violet. Relative luminance 0.196; OKLCH L 60.6% C 0.206 H 311.9°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#AA52D9
RGBrgb(170, 82, 217)
HSLhsl(279, 64%, 59%)
HSVhsv(279, 62%, 85%)
CMYKcmyk(21.7%, 62.2%, 0%, 14.9%)
CIE-LABlab(51.37, 57.86, -54.56)
CIE-LCHlch(51.37, 79.53, 316.68°)
OKLaboklab(60.58% 0.1376 -0.1536)
OKLCHoklch(60.58% 0.206 311.9)
XYZxyz(32.1170, 19.5912, 67.7218)
Luminance0.1959 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA52D9 #81D952
analogous
#6652D9 #AA52D9 #D952C4
triadic
#AA52D9 #D9AA52 #52D9AA
tetradic
#AA52D9 #D96652 #81D952 #52C4D9
square
#AA52D9 #D96652 #81D952 #52C4D9
split-complementary
#AA52D9 #C4D952 #52D966
monochromatic
#692091 #8E2BC3 #AA52D9 #C384E4 #DBB6EF

Accessibility & contrast

On white

4.27
#AA52D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#AA52D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA52D9
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA52D9#FFFFFF#000000##000000
##AA52D91.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1676DD
Deuteranopia (green-blind)
#467CD6
Tritanopia (blue-blind)
#A56C8E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #aa52d9;
/* rgb */ color: rgb(170, 82, 217);
/* oklch */ color: oklch(60.6% 0.206 311.9);
Tailwind
colors: {
  custom: {
    50: '#c788e5',
    500: '#aa52d9',
    950: '#000000',
  },
}
SCSS
$custom: #aa52d9;
$custom-light: #c788e5;
$custom-dark: #000000;
JSON
{
  "hex": "#aa52d9",
  "rgb": {
    "r": 170,
    "g": 82,
    "b": 217
  },
  "hsl": {
    "h": 279.111,
    "s": 63.981,
    "l": 58.627
  },
  "oklch": {
    "l": 0.60576,
    "c": 0.20616,
    "h": 311.9
  },
  "luminance": 0.1959
}

Semantic roles & 50–950 ramp

primary
#AA52D9
secondary
#BBDEA9
accent
#E7417B
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AA52D9

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

Preview Lab → · Contrast checker → · Palette generator →

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