#AE51EB#AE51EB

#AE51EB is a light, highly saturated violet. Relative luminance 0.209; OKLCH L 62.1% C 0.227 H 309.0°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#AE51EB
RGBrgb(174, 81, 235)
HSLhsl(276, 79%, 62%)
HSVhsv(276, 66%, 92%)
CMYKcmyk(26%, 65.5%, 0%, 7.8%)
CIE-LABlab(52.82, 63.07, -62.38)
CIE-LCHlch(52.82, 88.70, 315.32°)
OKLaboklab(62.08% 0.1427 -0.1764)
OKLCHoklch(62.08% 0.227 309)
XYZxyz(35.3904, 20.8823, 80.7475)
Luminance0.2088 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE51EB #8EEB51
analogous
#6151EB #AE51EB #EB51DB
triadic
#AE51EB #EBAE51 #51EBAE
tetradic
#AE51EB #EB6151 #8EEB51 #51DBEB
square
#AE51EB #EB6151 #8EEB51 #51DBEB
split-complementary
#AE51EB #DBEB51 #51EB61
monochromatic
#7114AE #941AE5 #AE51EB #C888F1 #E1BFF8

Accessibility & contrast

On white

4.06
#AE51EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#AE51EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE51EB
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE51EB#FFFFFF#000000##000000
##AE51EB1.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF0
Deuteranopia (green-blind)
#367FE8
Tritanopia (blue-blind)
#A57197
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ae51eb;
/* rgb */ color: rgb(174, 81, 235);
/* oklch */ color: oklch(62.1% 0.227 309.0);
Tailwind
colors: {
  custom: {
    50: '#cb88f2',
    500: '#ae51eb',
    950: '#000000',
  },
}
SCSS
$custom: #ae51eb;
$custom-light: #cb88f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ae51eb",
  "rgb": {
    "r": 174,
    "g": 81,
    "b": 235
  },
  "hsl": {
    "h": 276.234,
    "s": 79.381,
    "l": 61.961
  },
  "oklch": {
    "l": 0.62084,
    "c": 0.22689,
    "h": 309
  },
  "luminance": 0.20882
}

Semantic roles & 50–950 ramp

primary
#AE51EB
secondary
#C6E8B0
accent
#DC0A5D
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #AE51EB

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

Preview Lab → · Contrast checker → · Palette generator →

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