#AE52D6#AE52D6

#AE52D6 is a mid, highly saturated purple. Relative luminance 0.199; OKLCH L 60.9% C 0.205 H 314.2°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#AE52D6
RGBrgb(174, 82, 214)
HSLhsl(282, 62%, 58%)
HSVhsv(282, 62%, 84%)
CMYKcmyk(18.7%, 61.7%, 0%, 16.1%)
CIE-LABlab(51.71, 58.16, -52.28)
CIE-LCHlch(51.71, 78.21, 318.05°)
OKLaboklab(60.88% 0.1425 -0.1468)
OKLCHoklch(60.88% 0.205 314.2)
XYZxyz(32.6084, 19.8893, 65.7266)
Luminance0.1989 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE52D6 #7AD652
analogous
#6C52D6 #AE52D6 #D652BC
triadic
#AE52D6 #D6AE52 #52D6AE
tetradic
#AE52D6 #D66C52 #7AD652 #52BCD6
square
#AE52D6 #D66C52 #7AD652 #52BCD6
split-complementary
#AE52D6 #BCD652 #52D66C
monochromatic
#6C218C #922DBE #AE52D6 #C583E2 #DCB5ED

Accessibility & contrast

On white

4.22
#AE52D6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#AE52D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE52D6
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE52D6#FFFFFF#000000##000000
##AE52D61.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2176DA
Deuteranopia (green-blind)
#4D7ED3
Tritanopia (blue-blind)
#AB6A8D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ae52d6;
/* rgb */ color: rgb(174, 82, 214);
/* oklch */ color: oklch(60.9% 0.205 314.2);
Tailwind
colors: {
  custom: {
    50: '#c988e3',
    500: '#ae52d6',
    950: '#000000',
  },
}
SCSS
$custom: #ae52d6;
$custom-light: #c988e3;
$custom-dark: #000000;
JSON
{
  "hex": "#ae52d6",
  "rgb": {
    "r": 174,
    "g": 82,
    "b": 214
  },
  "hsl": {
    "h": 281.818,
    "s": 61.682,
    "l": 58.039
  },
  "oklch": {
    "l": 0.60876,
    "c": 0.2046,
    "h": 314.2
  },
  "luminance": 0.19888
}

Semantic roles & 50–950 ramp

primary
#AE52D6
secondary
#B8DCA8
accent
#E54374
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#140C15
muted
#827D84

Preview Lab

Preview with #AE52D6

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

Preview Lab → · Contrast checker → · Palette generator →

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