#AA52EA#AA52EA

#AA52EA is a mid, highly saturated violet. Relative luminance 0.205; OKLCH L 61.7% C 0.223 H 307.7°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#AA52EA
RGBrgb(170, 82, 234)
HSLhsl(275, 78%, 62%)
HSVhsv(275, 65%, 92%)
CMYKcmyk(27.4%, 65%, 0%, 8.2%)
CIE-LABlab(52.42, 61.55, -62.48)
CIE-LCHlch(52.42, 87.71, 314.57°)
OKLaboklab(61.67% 0.1367 -0.1768)
OKLCHoklch(61.67% 0.223 307.7)
XYZxyz(34.4431, 20.5216, 79.9725)
Luminance0.2052 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA52EA #92EA52
analogous
#5E52EA #AA52EA #EA52DE
triadic
#AA52EA #EAAA52 #52EAAA
tetradic
#AA52EA #EA5E52 #92EA52 #52DEEA
square
#AA52EA #EA5E52 #92EA52 #52DEEA
split-complementary
#AA52EA #DEEA52 #52EA5E
monochromatic
#6D15AD #8F1CE3 #AA52EA #C589F1 #E0BFF7

Accessibility & contrast

On white

4.11
#AA52EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#AA52EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA52EA
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA52EA#FFFFFF#000000##000000
##AA52EA1.004.115.105.10
#FFFFFF4.111.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEF
Deuteranopia (green-blind)
#337EE7
Tritanopia (blue-blind)
#A07297
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #aa52ea;
/* rgb */ color: rgb(170, 82, 234);
/* oklch */ color: oklch(61.7% 0.223 307.7);
Tailwind
colors: {
  custom: {
    50: '#c888f1',
    500: '#aa52ea',
    950: '#000000',
  },
}
SCSS
$custom: #aa52ea;
$custom-light: #c888f1;
$custom-dark: #000000;
JSON
{
  "hex": "#aa52ea",
  "rgb": {
    "r": 170,
    "g": 82,
    "b": 234
  },
  "hsl": {
    "h": 274.737,
    "s": 78.351,
    "l": 61.961
  },
  "oklch": {
    "l": 0.6167,
    "c": 0.22346,
    "h": 307.7
  },
  "luminance": 0.20521
}

Semantic roles & 50–950 ramp

primary
#AA52EA
secondary
#C7E8B0
accent
#DB0B62
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #AA52EA

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

Preview Lab → · Contrast checker → · Palette generator →

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