#AA52E9#AA52E9

#AA52E9 is a mid, highly saturated violet. Relative luminance 0.205; OKLCH L 61.6% C 0.222 H 307.9°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#AA52E9
RGBrgb(170, 82, 233)
HSLhsl(275, 77%, 62%)
HSVhsv(275, 65%, 91%)
CMYKcmyk(27%, 64.8%, 0%, 8.6%)
CIE-LABlab(52.36, 61.33, -62.02)
CIE-LCHlch(52.36, 87.22, 314.68°)
OKLaboklab(61.6% 0.1367 -0.1754)
OKLCHoklch(61.6% 0.222 307.9)
XYZxyz(34.2998, 20.4643, 79.2181)
Luminance0.2046 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA52E9 #91E952
analogous
#5F52E9 #AA52E9 #E952DD
triadic
#AA52E9 #E9AA52 #52E9AA
tetradic
#AA52E9 #E95F52 #91E952 #52DDE9
square
#AA52E9 #E95F52 #91E952 #52DDE9
split-complementary
#AA52E9 #DDE952 #52E95F
monochromatic
#6D16AB #8F1DE1 #AA52E9 #C588F0 #DFBFF7

Accessibility & contrast

On white

4.12
#AA52E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#AA52E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA52E9
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA52E9#FFFFFF#000000##000000
##AA52E91.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEE
Deuteranopia (green-blind)
#347EE6
Tritanopia (blue-blind)
#A07297
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #aa52e9;
/* rgb */ color: rgb(170, 82, 233);
/* oklch */ color: oklch(61.6% 0.222 307.9);
Tailwind
colors: {
  custom: {
    50: '#c888f1',
    500: '#aa52e9',
    950: '#000000',
  },
}
SCSS
$custom: #aa52e9;
$custom-light: #c888f1;
$custom-dark: #000000;
JSON
{
  "hex": "#aa52e9",
  "rgb": {
    "r": 170,
    "g": 82,
    "b": 233
  },
  "hsl": {
    "h": 274.967,
    "s": 77.436,
    "l": 61.765
  },
  "oklch": {
    "l": 0.61604,
    "c": 0.22244,
    "h": 307.9
  },
  "luminance": 0.20464
}

Semantic roles & 50–950 ramp

primary
#AA52E9
secondary
#C7E7AF
accent
#DA0C62
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #AA52E9

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

Preview Lab → · Contrast checker → · Palette generator →

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