#AE51E3#AE51E3

#AE51E3 is a mid, highly saturated violet. Relative luminance 0.204; OKLCH L 61.6% C 0.219 H 310.9°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#AE51E3
RGBrgb(174, 81, 227)
HSLhsl(278, 72%, 60%)
HSVhsv(278, 64%, 89%)
CMYKcmyk(23.3%, 64.3%, 0%, 11%)
CIE-LABlab(52.32, 61.36, -58.68)
CIE-LCHlch(52.32, 84.90, 316.28°)
OKLaboklab(61.57% 0.1433 -0.1655)
OKLCHoklch(61.57% 0.219 310.9)
XYZxyz(34.2605, 20.4304, 74.7968)
Luminance0.2043 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE51E3 #86E351
analogous
#6551E3 #AE51E3 #E351CF
triadic
#AE51E3 #E3AE51 #51E3AE
tetradic
#AE51E3 #E36551 #86E351 #51CFE3
square
#AE51E3 #E36551 #86E351 #51CFE3
split-complementary
#AE51E3 #CFE351 #51E365
monochromatic
#6F1AA0 #9422D5 #AE51E3 #C786EB #DFBAF4

Accessibility & contrast

On white

4.13
#AE51E3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#AE51E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE51E3
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE51E3#FFFFFF#000000##000000
##AE51E31.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078E7
Deuteranopia (green-blind)
#407EE0
Tritanopia (blue-blind)
#A76E93
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ae51e3;
/* rgb */ color: rgb(174, 81, 227);
/* oklch */ color: oklch(61.6% 0.219 310.9);
Tailwind
colors: {
  custom: {
    50: '#ca88ec',
    500: '#ae51e3',
    950: '#000000',
  },
}
SCSS
$custom: #ae51e3;
$custom-light: #ca88ec;
$custom-dark: #000000;
JSON
{
  "hex": "#ae51e3",
  "rgb": {
    "r": 174,
    "g": 81,
    "b": 227
  },
  "hsl": {
    "h": 278.219,
    "s": 72.277,
    "l": 60.392
  },
  "oklch": {
    "l": 0.61565,
    "c": 0.21891,
    "h": 310.9
  },
  "luminance": 0.2043
}

Semantic roles & 50–950 ramp

primary
#AE51E3
secondary
#C0E4AC
accent
#D41158
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AE51E3

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

Preview Lab → · Contrast checker → · Palette generator →

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