#AA52DB#AA52DB

#AA52DB is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 60.7% C 0.208 H 311.3°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#AA52DB
RGBrgb(170, 82, 219)
HSLhsl(279, 66%, 59%)
HSVhsv(279, 63%, 86%)
CMYKcmyk(22.4%, 62.6%, 0%, 14.1%)
CIE-LABlab(51.49, 58.29, -55.51)
CIE-LCHlch(51.49, 80.49, 316.40°)
OKLaboklab(60.7% 0.1375 -0.1563)
OKLCHoklch(60.7% 0.208 311.3)
XYZxyz(32.3787, 19.6959, 69.1001)
Luminance0.1969 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA52DB #83DB52
analogous
#6652DB #AA52DB #DB52C8
triadic
#AA52DB #DBAA52 #52DBAA
tetradic
#AA52DB #DB6652 #83DB52 #52C8DB
square
#AA52DB #DB6652 #83DB52 #52C8DB
split-complementary
#AA52DB #C8DB52 #52DB66
monochromatic
#6A1F94 #8E29C6 #AA52DB #C385E6 #DCB7F0

Accessibility & contrast

On white

4.25
#AA52DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#AA52DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA52DB
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA52DB#FFFFFF#000000##000000
##AA52DB1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0F76DF
Deuteranopia (green-blind)
#457CD8
Tritanopia (blue-blind)
#A46D8F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #aa52db;
/* rgb */ color: rgb(170, 82, 219);
/* oklch */ color: oklch(60.7% 0.208 311.3);
Tailwind
colors: {
  custom: {
    50: '#c788e7',
    500: '#aa52db',
    950: '#000000',
  },
}
SCSS
$custom: #aa52db;
$custom-light: #c788e7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa52db",
  "rgb": {
    "r": 170,
    "g": 82,
    "b": 219
  },
  "hsl": {
    "h": 278.54,
    "s": 65.55,
    "l": 59.02
  },
  "oklch": {
    "l": 0.60701,
    "c": 0.20819,
    "h": 311.3
  },
  "luminance": 0.19695
}

Semantic roles & 50–950 ramp

primary
#AA52DB
secondary
#BDDFAA
accent
#E93F7C
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AA52DB

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

Preview Lab → · Contrast checker → · Palette generator →

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