#AE52E8#AE52E8

#AE52E8 is a light, highly saturated violet. Relative luminance 0.209; OKLCH L 62.0% C 0.223 H 309.6°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#AE52E8
RGBrgb(174, 82, 232)
HSLhsl(277, 77%, 62%)
HSVhsv(277, 65%, 91%)
CMYKcmyk(25%, 64.7%, 0%, 9%)
CIE-LABlab(52.80, 61.97, -60.73)
CIE-LCHlch(52.80, 86.76, 315.58°)
OKLaboklab(62.01% 0.1419 -0.1715)
OKLCHoklch(62.01% 0.223 309.6)
XYZxyz(35.0355, 20.8601, 78.5090)
Luminance0.2086 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE52E8 #8CE852
analogous
#6352E8 #AE52E8 #E852D7
triadic
#AE52E8 #E8AE52 #52E8AE
tetradic
#AE52E8 #E86352 #8CE852 #52D7E8
square
#AE52E8 #E86352 #8CE852 #52D7E8
split-complementary
#AE52E8 #D7E852 #52E863
monochromatic
#7016A9 #941EDF #AE52E8 #C788EF #E1BEF6

Accessibility & contrast

On white

4.06
#AE52E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#AE52E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE52E8
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE52E8#FFFFFF#000000##000000
##AE52E81.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AED
Deuteranopia (green-blind)
#3B7FE5
Tritanopia (blue-blind)
#A67196
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ae52e8;
/* rgb */ color: rgb(174, 82, 232);
/* oklch */ color: oklch(62.0% 0.223 309.6);
Tailwind
colors: {
  custom: {
    50: '#ca88f0',
    500: '#ae52e8',
    950: '#000000',
  },
}
SCSS
$custom: #ae52e8;
$custom-light: #ca88f0;
$custom-dark: #000000;
JSON
{
  "hex": "#ae52e8",
  "rgb": {
    "r": 174,
    "g": 82,
    "b": 232
  },
  "hsl": {
    "h": 276.8,
    "s": 76.531,
    "l": 61.569
  },
  "oklch": {
    "l": 0.62006,
    "c": 0.22259,
    "h": 309.6
  },
  "luminance": 0.20859
}

Semantic roles & 50–950 ramp

primary
#AE52E8
secondary
#C5E7AF
accent
#D90D5C
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #AE52E8

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

Preview Lab → · Contrast checker → · Palette generator →

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