#AE52D2#AE52D2

#AE52D2 is a mid, highly saturated purple. Relative luminance 0.197; OKLCH L 60.6% C 0.201 H 315.3°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#AE52D2
RGBrgb(174, 82, 210)
HSLhsl(283, 59%, 57%)
HSVhsv(283, 61%, 82%)
CMYKcmyk(17.1%, 61%, 0%, 17.6%)
CIE-LABlab(51.48, 57.34, -50.37)
CIE-LCHlch(51.48, 76.32, 318.70°)
OKLaboklab(60.63% 0.1426 -0.1412)
OKLCHoklch(60.63% 0.201 315.3)
XYZxyz(32.1039, 19.6875, 63.0692)
Luminance0.1969 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE52D2 #76D252
analogous
#6E52D2 #AE52D2 #D252B6
triadic
#AE52D2 #D2AE52 #52D2AE
tetradic
#AE52D2 #D26E52 #76D252 #52B6D2
square
#AE52D2 #D26E52 #76D252 #52B6D2
split-complementary
#AE52D2 #B6D252 #52D26E
monochromatic
#6B2387 #9130B7 #AE52D2 #C583DF #DBB3EB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AE52D2#FFFFFF#000000##000000
##AE52D21.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)
#2875D6
Deuteranopia (green-blind)
#507DCF
Tritanopia (blue-blind)
#AB698B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ae52d2;
/* rgb */ color: rgb(174, 82, 210);
/* oklch */ color: oklch(60.6% 0.201 315.3);
Tailwind
colors: {
  custom: {
    50: '#c988e0',
    500: '#ae52d2',
    950: '#000000',
  },
}
SCSS
$custom: #ae52d2;
$custom-light: #c988e0;
$custom-dark: #000000;
JSON
{
  "hex": "#ae52d2",
  "rgb": {
    "r": 174,
    "g": 82,
    "b": 210
  },
  "hsl": {
    "h": 283.125,
    "s": 58.716,
    "l": 57.255
  },
  "oklch": {
    "l": 0.60635,
    "c": 0.20063,
    "h": 315.3
  },
  "luminance": 0.19686
}

Semantic roles & 50–950 ramp

primary
#AE52D2
secondary
#B5DAA6
accent
#E24672
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #AE52D2

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

Preview Lab → · Contrast checker → · Palette generator →

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