#AE52CA#AE52CA

#AE52CA is a mid, vivid purple. Relative luminance 0.193; OKLCH L 60.2% C 0.193 H 317.6°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#AE52CA
RGBrgb(174, 82, 202)
HSLhsl(286, 53%, 56%)
HSVhsv(286, 59%, 79%)
CMYKcmyk(13.9%, 59.4%, 0%, 20.8%)
CIE-LABlab(51.03, 55.72, -46.50)
CIE-LCHlch(51.03, 72.57, 320.15°)
OKLaboklab(60.17% 0.1424 -0.1299)
OKLCHoklch(60.17% 0.193 317.6)
XYZxyz(31.1320, 19.2987, 57.9508)
Luminance0.1930 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE52CA #6ECA52
analogous
#7252CA #AE52CA #CA52AA
triadic
#AE52CA #CAAE52 #52CAAE
tetradic
#AE52CA #CA7252 #6ECA52 #52AACA
square
#AE52CA #CA7252 #6ECA52 #52AACA
split-complementary
#AE52CA #AACA52 #52CA72
monochromatic
#68267C #8F34AB #AE52CA #C481D8 #DAB0E7

Accessibility & contrast

On white

4.32
#AE52CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#AE52CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE52CA
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE52CA#FFFFFF#000000##000000
##AE52CA1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3274CE
Deuteranopia (green-blind)
#567CC7
Tritanopia (blue-blind)
#AD6686
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ae52ca;
/* rgb */ color: rgb(174, 82, 202);
/* oklch */ color: oklch(60.2% 0.193 317.6);
Tailwind
colors: {
  custom: {
    50: '#c987db',
    500: '#ae52ca',
    950: '#000000',
  },
}
SCSS
$custom: #ae52ca;
$custom-light: #c987db;
$custom-dark: #000000;
JSON
{
  "hex": "#ae52ca",
  "rgb": {
    "r": 174,
    "g": 82,
    "b": 202
  },
  "hsl": {
    "h": 286,
    "s": 53.097,
    "l": 55.686
  },
  "oklch": {
    "l": 0.60165,
    "c": 0.19273,
    "h": 317.6
  },
  "luminance": 0.19298
}

Semantic roles & 50–950 ramp

primary
#AE52CA
secondary
#AFD5A3
accent
#DD4B6D
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AE52CA

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

Preview Lab → · Contrast checker → · Palette generator →

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