#AE51E5#AE51E5

#AE51E5 is a mid, highly saturated violet. Relative luminance 0.205; OKLCH L 61.7% C 0.221 H 310.4°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#AE51E5
RGBrgb(174, 81, 229)
HSLhsl(278, 74%, 61%)
HSVhsv(278, 65%, 90%)
CMYKcmyk(24%, 64.6%, 0%, 10.2%)
CIE-LABlab(52.44, 61.78, -59.61)
CIE-LCHlch(52.44, 85.85, 316.03°)
OKLaboklab(61.69% 0.1432 -0.1682)
OKLCHoklch(61.69% 0.221 310.4)
XYZxyz(34.5381, 20.5414, 76.2590)
Luminance0.2054 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE51E5 #88E551
analogous
#6451E5 #AE51E5 #E551D2
triadic
#AE51E5 #E5AE51 #51E5AE
tetradic
#AE51E5 #E56451 #88E551 #51D2E5
square
#AE51E5 #E56451 #88E551 #51D2E5
split-complementary
#AE51E5 #D2E551 #51E564
monochromatic
#7018A3 #9420D8 #AE51E5 #C786ED #E0BBF5

Accessibility & contrast

On white

4.11
#AE51E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#AE51E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE51E5
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE51E5#FFFFFF#000000##000000
##AE51E51.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079E9
Deuteranopia (green-blind)
#3E7FE2
Tritanopia (blue-blind)
#A76F94
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ae51e5;
/* rgb */ color: rgb(174, 81, 229);
/* oklch */ color: oklch(61.7% 0.221 310.4);
Tailwind
colors: {
  custom: {
    50: '#ca88ee',
    500: '#ae51e5',
    950: '#000000',
  },
}
SCSS
$custom: #ae51e5;
$custom-light: #ca88ee;
$custom-dark: #000000;
JSON
{
  "hex": "#ae51e5",
  "rgb": {
    "r": 174,
    "g": 81,
    "b": 229
  },
  "hsl": {
    "h": 277.703,
    "s": 74,
    "l": 60.784
  },
  "oklch": {
    "l": 0.61693,
    "c": 0.2209,
    "h": 310.4
  },
  "luminance": 0.20541
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AE51E5

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

Preview Lab → · Contrast checker → · Palette generator →

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