#AE52EE#AE52EE

#AE52EE is a light, highly saturated violet. Relative luminance 0.212; OKLCH L 62.4% C 0.229 H 308.2°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#AE52EE
RGBrgb(174, 82, 238)
HSLhsl(275, 82%, 63%)
HSVhsv(275, 66%, 93%)
CMYKcmyk(26.9%, 65.5%, 0%, 6.7%)
CIE-LABlab(53.18, 63.27, -63.49)
CIE-LCHlch(53.18, 89.63, 314.90°)
OKLaboklab(62.4% 0.1414 -0.1796)
OKLCHoklch(62.4% 0.229 308.2)
XYZxyz(35.9023, 21.2068, 83.0743)
Luminance0.2121 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE52EE #92EE52
analogous
#6052EE #AE52EE #EE52E0
triadic
#AE52EE #EEAE52 #52EEAE
tetradic
#AE52EE #EE6052 #92EE52 #52E0EE
square
#AE52EE #EE6052 #92EE52 #52E0EE
split-complementary
#AE52EE #E0EE52 #52EE60
monochromatic
#7112B4 #941AE9 #AE52EE #C88AF3 #E2C1F9

Accessibility & contrast

On white

4.01
#AE52EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#AE52EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE52EE
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE52EE#FFFFFF#000000##000000
##AE52EE1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF3
Deuteranopia (green-blind)
#3380EB
Tritanopia (blue-blind)
#A47399
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #ae52ee;
/* rgb */ color: rgb(174, 82, 238);
/* oklch */ color: oklch(62.4% 0.229 308.2);
Tailwind
colors: {
  custom: {
    50: '#cb88f4',
    500: '#ae52ee',
    950: '#000000',
  },
}
SCSS
$custom: #ae52ee;
$custom-light: #cb88f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ae52ee",
  "rgb": {
    "r": 174,
    "g": 82,
    "b": 238
  },
  "hsl": {
    "h": 275.385,
    "s": 82.105,
    "l": 62.745
  },
  "oklch": {
    "l": 0.624,
    "c": 0.22861,
    "h": 308.2
  },
  "luminance": 0.21206
}

Semantic roles & 50–950 ramp

primary
#AE52EE
secondary
#C9EAB2
accent
#DE075F
background
#FCF8FF
surface
#F9F0FE
border
#D2CBD6
text
#140C17
muted
#827D85

Preview Lab

Preview with #AE52EE

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

Preview Lab → · Contrast checker → · Palette generator →

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