#AE52DB#AE52DB

#AE52DB is a mid, highly saturated purple. Relative luminance 0.201; OKLCH L 61.2% C 0.210 H 312.8°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#AE52DB
RGBrgb(174, 82, 219)
HSLhsl(280, 66%, 59%)
HSVhsv(280, 63%, 86%)
CMYKcmyk(20.5%, 62.6%, 0%, 14.1%)
CIE-LABlab(52.00, 59.21, -54.66)
CIE-LCHlch(52.00, 80.58, 317.29°)
OKLaboklab(61.18% 0.1425 -0.1537)
OKLCHoklch(61.18% 0.21 312.8)
XYZxyz(33.2568, 20.1486, 69.1413)
Luminance0.2015 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE52DB #7FDB52
analogous
#6A52DB #AE52DB #DB52C4
triadic
#AE52DB #DBAE52 #52DBAE
tetradic
#AE52DB #DB6A52 #7FDB52 #52C4DB
square
#AE52DB #DB6A52 #7FDB52 #52C4DB
split-complementary
#AE52DB #C4DB52 #52DB6A
monochromatic
#6D1F94 #9329C6 #AE52DB #C685E6 #DDB7F0

Accessibility & contrast

On white

4.18
#AE52DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#AE52DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE52DB
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE52DB#FFFFFF#000000##000000
##AE52DB1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1677DF
Deuteranopia (green-blind)
#497ED8
Tritanopia (blue-blind)
#A96C8F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ae52db;
/* rgb */ color: rgb(174, 82, 219);
/* oklch */ color: oklch(61.2% 0.210 312.8);
Tailwind
colors: {
  custom: {
    50: '#ca88e7',
    500: '#ae52db',
    950: '#000000',
  },
}
SCSS
$custom: #ae52db;
$custom-light: #ca88e7;
$custom-dark: #000000;
JSON
{
  "hex": "#ae52db",
  "rgb": {
    "r": 174,
    "g": 82,
    "b": 219
  },
  "hsl": {
    "h": 280.292,
    "s": 65.55,
    "l": 59.02
  },
  "oklch": {
    "l": 0.61182,
    "c": 0.20958,
    "h": 312.8
  },
  "luminance": 0.20148
}

Semantic roles & 50–950 ramp

primary
#AE52DB
secondary
#BBDFAA
accent
#E93F77
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AE52DB

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

Preview Lab → · Contrast checker → · Palette generator →

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