#AE52E4#AE52E4

#AE52E4 is a mid, highly saturated violet. Relative luminance 0.206; OKLCH L 61.7% C 0.219 H 310.5°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#AE52E4
RGBrgb(174, 82, 228)
HSLhsl(278, 73%, 61%)
HSVhsv(278, 64%, 89%)
CMYKcmyk(23.7%, 64%, 0%, 10.6%)
CIE-LABlab(52.55, 61.11, -58.87)
CIE-LCHlch(52.55, 84.86, 316.07°)
OKLaboklab(61.75% 0.1421 -0.1661)
OKLCHoklch(61.75% 0.219 310.5)
XYZxyz(34.4738, 20.6354, 75.5507)
Luminance0.2064 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE52E4 #88E452
analogous
#6552E4 #AE52E4 #E452D1
triadic
#AE52E4 #E4AE52 #52E4AE
tetradic
#AE52E4 #E46552 #88E452 #52D1E4
square
#AE52E4 #E46552 #88E452 #52D1E4
split-complementary
#AE52E4 #D1E452 #52E465
monochromatic
#7019A2 #9422D7 #AE52E4 #C787EC #E0BCF5

Accessibility & contrast

On white

4.10
#AE52E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#AE52E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE52E4
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE52E4#FFFFFF#000000##000000
##AE52E41.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079E8
Deuteranopia (green-blind)
#407FE1
Tritanopia (blue-blind)
#A76F94
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ae52e4;
/* rgb */ color: rgb(174, 82, 228);
/* oklch */ color: oklch(61.7% 0.219 310.5);
Tailwind
colors: {
  custom: {
    50: '#ca88ed',
    500: '#ae52e4',
    950: '#000000',
  },
}
SCSS
$custom: #ae52e4;
$custom-light: #ca88ed;
$custom-dark: #000000;
JSON
{
  "hex": "#ae52e4",
  "rgb": {
    "r": 174,
    "g": 82,
    "b": 228
  },
  "hsl": {
    "h": 277.808,
    "s": 73,
    "l": 60.784
  },
  "oklch": {
    "l": 0.61748,
    "c": 0.21858,
    "h": 310.5
  },
  "luminance": 0.20635
}

Semantic roles & 50–950 ramp

primary
#AE52E4
secondary
#C2E5AD
accent
#D51059
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AE52E4

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

Preview Lab → · Contrast checker → · Palette generator →

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