#AE52C2#AE52C2

#AE52C2 is a mid, vivid purple. Relative luminance 0.189; OKLCH L 59.7% C 0.185 H 320.2°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#AE52C2
RGBrgb(174, 82, 194)
HSLhsl(289, 48%, 54%)
HSVhsv(289, 58%, 76%)
CMYKcmyk(10.3%, 57.7%, 0%, 23.9%)
CIE-LABlab(50.60, 54.13, -42.58)
CIE-LCHlch(50.60, 68.87, 321.81°)
OKLaboklab(59.71% 0.142 -0.1185)
OKLCHoklch(59.71% 0.185 320.2)
XYZxyz(30.2093, 18.9296, 53.0910)
Luminance0.1893 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE52C2 #66C252
analogous
#7652C2 #AE52C2 #C2529E
triadic
#AE52C2 #C2AE52 #52C2AE
tetradic
#AE52C2 #C27652 #66C252 #529EC2
square
#AE52C2 #C27652 #66C252 #529EC2
split-complementary
#AE52C2 #9EC252 #52C276
monochromatic
#642872 #8C389F #AE52C2 #C37FD2 #D8ACE2

Accessibility & contrast

On white

4.39
#AE52C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#AE52C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE52C2
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE52C2#FFFFFF#000000##000000
##AE52C21.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A72C6
Deuteranopia (green-blind)
#5B7CBF
Tritanopia (blue-blind)
#AF6382
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ae52c2;
/* rgb */ color: rgb(174, 82, 194);
/* oklch */ color: oklch(59.7% 0.185 320.2);
Tailwind
colors: {
  custom: {
    50: '#c987d5',
    500: '#ae52c2',
    950: '#000000',
  },
}
SCSS
$custom: #ae52c2;
$custom-light: #c987d5;
$custom-dark: #000000;
JSON
{
  "hex": "#ae52c2",
  "rgb": {
    "r": 174,
    "g": 82,
    "b": 194
  },
  "hsl": {
    "h": 289.286,
    "s": 47.863,
    "l": 54.118
  },
  "oklch": {
    "l": 0.59713,
    "c": 0.18494,
    "h": 320.2
  },
  "luminance": 0.18928
}

Semantic roles & 50–950 ramp

primary
#AE52C2
secondary
#A9D0A0
accent
#D75068
background
#FCF8FD
surface
#F9F0FA
border
#D2CBD3
text
#130C14
muted
#827D83

Preview Lab

Preview with #AE52C2

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

Preview Lab → · Contrast checker → · Palette generator →

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