#AA52F6#AA52F6

#AA52F6 is a light, highly saturated violet. Relative luminance 0.212; OKLCH L 62.5% C 0.236 H 305.1°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#AA52F6
RGBrgb(170, 82, 246)
HSLhsl(272, 90%, 64%)
HSVhsv(272, 67%, 96%)
CMYKcmyk(30.9%, 66.7%, 0%, 3.5%)
CIE-LABlab(53.21, 64.22, -67.93)
CIE-LCHlch(53.21, 93.48, 313.39°)
OKLaboklab(62.48% 0.1355 -0.1928)
OKLCHoklch(62.48% 0.236 305.1)
XYZxyz(36.2257, 21.2347, 89.3612)
Luminance0.2123 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA52F6 #9EF652
analogous
#5852F6 #AA52F6 #F652F0
triadic
#AA52F6 #F6AA52 #52F6AA
tetradic
#AA52F6 #F65852 #9EF652 #52F0F6
square
#AA52F6 #F65852 #9EF652 #52F0F6
split-complementary
#AA52F6 #F0F652 #52F658
monochromatic
#6E0AC3 #8D18F3 #AA52F6 #C78CF9 #E3C6FC

Accessibility & contrast

On white

4.00
#AA52F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#AA52F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA52F6
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA52F6#FFFFFF#000000##000000
##AA52F61.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFB
Deuteranopia (green-blind)
#1A7FF2
Tritanopia (blue-blind)
#9C779E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #aa52f6;
/* rgb */ color: rgb(170, 82, 246);
/* oklch */ color: oklch(62.5% 0.236 305.1);
Tailwind
colors: {
  custom: {
    50: '#c888fa',
    500: '#aa52f6',
    950: '#000000',
  },
}
SCSS
$custom: #aa52f6;
$custom-light: #c888fa;
$custom-dark: #000000;
JSON
{
  "hex": "#aa52f6",
  "rgb": {
    "r": 170,
    "g": 82,
    "b": 246
  },
  "hsl": {
    "h": 272.195,
    "s": 90.11,
    "l": 64.314
  },
  "oklch": {
    "l": 0.62481,
    "c": 0.23568,
    "h": 305.1
  },
  "luminance": 0.21234
}

Semantic roles & 50–950 ramp

primary
#AA52F6
secondary
#D0EEB5
accent
#E6006A
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#140C17
muted
#827D85

Preview Lab

Preview with #AA52F6

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

Preview Lab → · Contrast checker → · Palette generator →

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