#AE52CC#AE52CC

#AE52CC is a mid, vivid purple. Relative luminance 0.194; OKLCH L 60.3% C 0.195 H 317.0°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#AE52CC
RGBrgb(174, 82, 204)
HSLhsl(285, 54%, 56%)
HSVhsv(285, 60%, 80%)
CMYKcmyk(14.7%, 59.8%, 0%, 20%)
CIE-LABlab(51.15, 56.12, -47.47)
CIE-LCHlch(51.15, 73.51, 319.77°)
OKLaboklab(60.28% 0.1425 -0.1327)
OKLCHoklch(60.28% 0.195 317)
XYZxyz(31.3703, 19.3941, 59.2060)
Luminance0.1939 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE52CC #70CC52
analogous
#7152CC #AE52CC #CC52AD
triadic
#AE52CC #CCAE52 #52CCAE
tetradic
#AE52CC #CC7152 #70CC52 #52ADCC
square
#AE52CC #CC7152 #70CC52 #52ADCC
split-complementary
#AE52CC #ADCC52 #52CC71
monochromatic
#68257E #9033AE #AE52CC #C481DA #DAB1E8

Accessibility & contrast

On white

4.30
#AE52CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#AE52CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE52CC
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE52CC#FFFFFF#000000##000000
##AE52CC1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3074D0
Deuteranopia (green-blind)
#557DC9
Tritanopia (blue-blind)
#AD6787
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ae52cc;
/* rgb */ color: rgb(174, 82, 204);
/* oklch */ color: oklch(60.3% 0.195 317.0);
Tailwind
colors: {
  custom: {
    50: '#c988dc',
    500: '#ae52cc',
    950: '#000000',
  },
}
SCSS
$custom: #ae52cc;
$custom-light: #c988dc;
$custom-dark: #000000;
JSON
{
  "hex": "#ae52cc",
  "rgb": {
    "r": 174,
    "g": 82,
    "b": 204
  },
  "hsl": {
    "h": 285.246,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.60281,
    "c": 0.1947,
    "h": 317
  },
  "luminance": 0.19393
}

Semantic roles & 50–950 ramp

primary
#AE52CC
secondary
#B0D6A4
accent
#DE4A6E
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #AE52CC

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

Preview Lab → · Contrast checker → · Palette generator →

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