#AA52FC#AA52FC

#AA52FC is a light, highly saturated violet. Relative luminance 0.216; OKLCH L 62.9% C 0.242 H 303.9°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#AA52FC
RGBrgb(170, 82, 252)
HSLhsl(271, 97%, 65%)
HSVhsv(271, 67%, 99%)
CMYKcmyk(32.5%, 67.5%, 0%, 1.2%)
CIE-LABlab(53.61, 65.57, -70.62)
CIE-LCHlch(53.61, 96.37, 312.88°)
OKLaboklab(62.9% 0.1348 -0.2007)
OKLCHoklch(62.9% 0.242 303.9)
XYZxyz(37.1615, 21.6090, 94.2898)
Luminance0.2161 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA52FC #A4FC52
analogous
#5552FC #AA52FC #FC52F9
triadic
#AA52FC #FCAA52 #52FCAA
tetradic
#AA52FC #FC5552 #A4FC52 #52F9FC
square
#AA52FC #FC5552 #A4FC52 #52F9FC
split-complementary
#AA52FC #F9FC52 #52FC55
monochromatic
#6D04D0 #8C16FB #AA52FC #C88EFD #E5CAFE

Accessibility & contrast

On white

3.95
#AA52FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#AA52FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA52FC
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA52FC#FFFFFF#000000##000000
##AA52FC1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFF
Deuteranopia (green-blind)
#0080F8
Tritanopia (blue-blind)
#9A79A1
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #aa52fc;
/* rgb */ color: rgb(170, 82, 252);
/* oklch */ color: oklch(62.9% 0.242 303.9);
Tailwind
colors: {
  custom: {
    50: '#c989fe',
    500: '#aa52fc',
    950: '#000000',
  },
}
SCSS
$custom: #aa52fc;
$custom-light: #c989fe;
$custom-dark: #000000;
JSON
{
  "hex": "#aa52fc",
  "rgb": {
    "r": 170,
    "g": 82,
    "b": 252
  },
  "hsl": {
    "h": 271.059,
    "s": 96.591,
    "l": 65.49
  },
  "oklch": {
    "l": 0.62898,
    "c": 0.24178,
    "h": 303.9
  },
  "luminance": 0.21609
}

Semantic roles & 50–950 ramp

primary
#AA52FC
secondary
#D4F1B8
accent
#E6006F
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#140C18
muted
#827D86

Preview Lab

Preview with #AA52FC

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

Preview Lab → · Contrast checker → · Palette generator →

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