#AA52DA#AA52DA

#AA52DA is a mid, highly saturated violet. Relative luminance 0.196; OKLCH L 60.6% C 0.207 H 311.6°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#AA52DA
RGBrgb(170, 82, 218)
HSLhsl(279, 65%, 59%)
HSVhsv(279, 62%, 85%)
CMYKcmyk(22%, 62.4%, 0%, 14.5%)
CIE-LABlab(51.43, 58.08, -55.03)
CIE-LCHlch(51.43, 80.01, 316.54°)
OKLaboklab(60.64% 0.1375 -0.1549)
OKLCHoklch(60.64% 0.207 311.6)
XYZxyz(32.2474, 19.6434, 68.4089)
Luminance0.1964 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA52DA #82DA52
analogous
#6652DA #AA52DA #DA52C6
triadic
#AA52DA #DAAA52 #52DAAA
tetradic
#AA52DA #DA6652 #82DA52 #52C6DA
square
#AA52DA #DA6652 #82DA52 #52C6DA
split-complementary
#AA52DA #C6DA52 #52DA66
monochromatic
#6A1F92 #8E2AC5 #AA52DA #C384E5 #DCB7F0

Accessibility & contrast

On white

4.26
#AA52DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#AA52DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA52DA
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA52DA#FFFFFF#000000##000000
##AA52DA1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1376DE
Deuteranopia (green-blind)
#467CD7
Tritanopia (blue-blind)
#A46C8F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #aa52da;
/* rgb */ color: rgb(170, 82, 218);
/* oklch */ color: oklch(60.6% 0.207 311.6);
Tailwind
colors: {
  custom: {
    50: '#c788e6',
    500: '#aa52da',
    950: '#000000',
  },
}
SCSS
$custom: #aa52da;
$custom-light: #c788e6;
$custom-dark: #000000;
JSON
{
  "hex": "#aa52da",
  "rgb": {
    "r": 170,
    "g": 82,
    "b": 218
  },
  "hsl": {
    "h": 278.824,
    "s": 64.762,
    "l": 58.824
  },
  "oklch": {
    "l": 0.60639,
    "c": 0.20717,
    "h": 311.6
  },
  "luminance": 0.19643
}

Semantic roles & 50–950 ramp

primary
#AA52DA
secondary
#BCDFA9
accent
#E8407B
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AA52DA

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

Preview Lab → · Contrast checker → · Palette generator →

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