#AA52FF#AA52FF

#AA52FF is a light, highly saturated violet. Relative luminance 0.218; OKLCH L 63.1% C 0.245 H 303.3°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#AA52FF
RGBrgb(170, 82, 255)
HSLhsl(271, 100%, 66%)
HSVhsv(271, 68%, 100%)
CMYKcmyk(33.3%, 67.8%, 0%, 0%)
CIE-LABlab(53.81, 66.25, -71.95)
CIE-LCHlch(53.81, 97.80, 312.64°)
OKLaboklab(63.11% 0.1344 -0.2046)
OKLCHoklch(63.11% 0.245 303.3)
XYZxyz(37.6407, 21.8007, 96.8133)
Luminance0.2180 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA52FF #A7FF52
analogous
#5352FF #AA52FF #FF52FE
triadic
#AA52FF #FFAA52 #52FFAA
tetradic
#AA52FF #FF5352 #A7FF52 #52FEFF
square
#AA52FF #FF5352 #A7FF52 #52FEFF
split-complementary
#AA52FF #FEFF52 #52FF53
monochromatic
#6D00D7 #8C15FF #AA52FF #C88FFF #E6CCFF

Accessibility & contrast

On white

3.92
#AA52FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#AA52FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA52FF
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA52FF#FFFFFF#000000##000000
##AA52FF1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFF
Deuteranopia (green-blind)
#0080FB
Tritanopia (blue-blind)
#997AA3
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #aa52ff;
/* rgb */ color: rgb(170, 82, 255);
/* oklch */ color: oklch(63.1% 0.245 303.3);
Tailwind
colors: {
  custom: {
    50: '#c989ff',
    500: '#aa52ff',
    950: '#000000',
  },
}
SCSS
$custom: #aa52ff;
$custom-light: #c989ff;
$custom-dark: #000000;
JSON
{
  "hex": "#aa52ff",
  "rgb": {
    "r": 170,
    "g": 82,
    "b": 255
  },
  "hsl": {
    "h": 270.52,
    "s": 100,
    "l": 66.078
  },
  "oklch": {
    "l": 0.63109,
    "c": 0.24482,
    "h": 303.3
  },
  "luminance": 0.21801
}

Semantic roles & 50–950 ramp

primary
#AA52FF
secondary
#D6F3BA
accent
#E60071
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#140C18
muted
#827D86

Preview Lab

Preview with #AA52FF

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

Preview Lab → · Contrast checker → · Palette generator →

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