#AE51E9#AE51E9

#AE51E9 is a mid, highly saturated violet. Relative luminance 0.208; OKLCH L 62.0% C 0.225 H 309.4°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#AE51E9
RGBrgb(174, 81, 233)
HSLhsl(277, 78%, 62%)
HSVhsv(277, 65%, 91%)
CMYKcmyk(25.3%, 65.2%, 0%, 8.6%)
CIE-LABlab(52.69, 62.64, -61.46)
CIE-LCHlch(52.69, 87.75, 315.55°)
OKLaboklab(61.95% 0.1429 -0.1737)
OKLCHoklch(61.95% 0.225 309.4)
XYZxyz(35.1031, 20.7674, 79.2343)
Luminance0.2077 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE51E9 #8CE951
analogous
#6251E9 #AE51E9 #E951D8
triadic
#AE51E9 #E9AE51 #51E9AE
tetradic
#AE51E9 #E96251 #8CE951 #51D8E9
square
#AE51E9 #E96251 #8CE951 #51D8E9
split-complementary
#AE51E9 #D8E951 #51E962
monochromatic
#7016AA #941CE0 #AE51E9 #C787F0 #E1BEF7

Accessibility & contrast

On white

4.07
#AE51E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#AE51E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE51E9
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE51E9#FFFFFF#000000##000000
##AE51E91.004.075.155.15
#FFFFFF4.071.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEE
Deuteranopia (green-blind)
#397FE6
Tritanopia (blue-blind)
#A67196
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ae51e9;
/* rgb */ color: rgb(174, 81, 233);
/* oklch */ color: oklch(62.0% 0.225 309.4);
Tailwind
colors: {
  custom: {
    50: '#ca88f1',
    500: '#ae51e9',
    950: '#000000',
  },
}
SCSS
$custom: #ae51e9;
$custom-light: #ca88f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ae51e9",
  "rgb": {
    "r": 174,
    "g": 81,
    "b": 233
  },
  "hsl": {
    "h": 276.711,
    "s": 77.551,
    "l": 61.569
  },
  "oklch": {
    "l": 0.61953,
    "c": 0.22489,
    "h": 309.4
  },
  "luminance": 0.20767
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AE51E9

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

Preview Lab → · Contrast checker → · Palette generator →

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