#AE51E8#AE51E8

#AE51E8 is a mid, highly saturated violet. Relative luminance 0.207; OKLCH L 61.9% C 0.224 H 309.7°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#AE51E8
RGBrgb(174, 81, 232)
HSLhsl(277, 77%, 61%)
HSVhsv(277, 65%, 91%)
CMYKcmyk(25%, 65.1%, 0%, 9%)
CIE-LABlab(52.63, 62.42, -60.99)
CIE-LCHlch(52.63, 87.28, 315.66°)
OKLaboklab(61.89% 0.143 -0.1723)
OKLCHoklch(61.89% 0.224 309.7)
XYZxyz(34.9606, 20.7104, 78.4841)
Luminance0.2071 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE51E8 #8BE851
analogous
#6351E8 #AE51E8 #E851D6
triadic
#AE51E8 #E8AE51 #51E8AE
tetradic
#AE51E8 #E86351 #8BE851 #51D6E8
square
#AE51E8 #E86351 #8BE851 #51D6E8
split-complementary
#AE51E8 #D6E851 #51E863
monochromatic
#7016A8 #941DDE #AE51E8 #C787EF #E0BDF6

Accessibility & contrast

On white

4.08
#AE51E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#AE51E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE51E8
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE51E8#FFFFFF#000000##000000
##AE51E81.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AED
Deuteranopia (green-blind)
#3A7FE5
Tritanopia (blue-blind)
#A67096
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ae51e8;
/* rgb */ color: rgb(174, 81, 232);
/* oklch */ color: oklch(61.9% 0.224 309.7);
Tailwind
colors: {
  custom: {
    50: '#ca88f0',
    500: '#ae51e8',
    950: '#000000',
  },
}
SCSS
$custom: #ae51e8;
$custom-light: #ca88f0;
$custom-dark: #000000;
JSON
{
  "hex": "#ae51e8",
  "rgb": {
    "r": 174,
    "g": 81,
    "b": 232
  },
  "hsl": {
    "h": 276.954,
    "s": 76.65,
    "l": 61.373
  },
  "oklch": {
    "l": 0.61888,
    "c": 0.22389,
    "h": 309.7
  },
  "luminance": 0.2071
}

Semantic roles & 50–950 ramp

primary
#AE51E8
secondary
#C4E7AE
accent
#D90D5B
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #AE51E8

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

Preview Lab → · Contrast checker → · Palette generator →

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