#AE51E0#AE51E0

#AE51E0 is a mid, highly saturated violet. Relative luminance 0.203; OKLCH L 61.4% C 0.216 H 311.6°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#AE51E0
RGBrgb(174, 81, 224)
HSLhsl(279, 70%, 60%)
HSVhsv(279, 64%, 88%)
CMYKcmyk(22.3%, 63.8%, 0%, 12.2%)
CIE-LABlab(52.14, 60.72, -57.28)
CIE-LCHlch(52.14, 83.47, 316.67°)
OKLaboklab(61.37% 0.1434 -0.1614)
OKLCHoklch(61.37% 0.216 311.6)
XYZxyz(33.8501, 20.2662, 72.6352)
Luminance0.2026 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE51E0 #83E051
analogous
#6751E0 #AE51E0 #E051CA
triadic
#AE51E0 #E0AE51 #51E0AE
tetradic
#AE51E0 #E06751 #83E051 #51CAE0
square
#AE51E0 #E06751 #83E051 #51CAE0
split-complementary
#AE51E0 #CAE051 #51E067
monochromatic
#6E1C9B #9325CF #AE51E0 #C685E9 #DEB9F3

Accessibility & contrast

On white

4.16
#AE51E0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#AE51E0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE51E0
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE51E0#FFFFFF#000000##000000
##AE51E01.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078E4
Deuteranopia (green-blind)
#437EDD
Tritanopia (blue-blind)
#A86D92
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ae51e0;
/* rgb */ color: rgb(174, 81, 224);
/* oklch */ color: oklch(61.4% 0.216 311.6);
Tailwind
colors: {
  custom: {
    50: '#ca87ea',
    500: '#ae51e0',
    950: '#000000',
  },
}
SCSS
$custom: #ae51e0;
$custom-light: #ca87ea;
$custom-dark: #000000;
JSON
{
  "hex": "#ae51e0",
  "rgb": {
    "r": 174,
    "g": 81,
    "b": 224
  },
  "hsl": {
    "h": 279.021,
    "s": 69.756,
    "l": 59.804
  },
  "oklch": {
    "l": 0.61374,
    "c": 0.21592,
    "h": 311.6
  },
  "luminance": 0.20265
}

Semantic roles & 50–950 ramp

primary
#AE51E0
secondary
#BEE2AB
accent
#ED3B79
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AE51E0

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

Preview Lab → · Contrast checker → · Palette generator →

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