#AE51EE#AE51EE

#AE51EE is a light, highly saturated violet. Relative luminance 0.211; OKLCH L 62.3% C 0.230 H 308.3°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#AE51EE
RGBrgb(174, 81, 238)
HSLhsl(276, 82%, 63%)
HSVhsv(276, 66%, 93%)
CMYKcmyk(26.9%, 66%, 0%, 6.7%)
CIE-LABlab(53.01, 63.72, -63.75)
CIE-LCHlch(53.01, 90.13, 314.99°)
OKLaboklab(62.28% 0.1425 -0.1804)
OKLCHoklch(62.28% 0.23 308.3)
XYZxyz(35.8275, 21.0571, 83.0494)
Luminance0.2106 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE51EE #91EE51
analogous
#5F51EE #AE51EE #EE51E0
triadic
#AE51EE #EEAE51 #51EEAE
tetradic
#AE51EE #EE5F51 #91EE51 #51E0EE
square
#AE51EE #EE5F51 #91EE51 #51E0EE
split-complementary
#AE51EE #E0EE51 #51EE5F
monochromatic
#7111B3 #9419E9 #AE51EE #C889F3 #E2C1F9

Accessibility & contrast

On white

4.03
#AE51EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#AE51EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE51EE
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE51EE#FFFFFF#000000##000000
##AE51EE1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF3
Deuteranopia (green-blind)
#3280EB
Tritanopia (blue-blind)
#A47299
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #ae51ee;
/* rgb */ color: rgb(174, 81, 238);
/* oklch */ color: oklch(62.3% 0.230 308.3);
Tailwind
colors: {
  custom: {
    50: '#cb88f4',
    500: '#ae51ee',
    950: '#000000',
  },
}
SCSS
$custom: #ae51ee;
$custom-light: #cb88f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ae51ee",
  "rgb": {
    "r": 174,
    "g": 81,
    "b": 238
  },
  "hsl": {
    "h": 275.541,
    "s": 82.199,
    "l": 62.549
  },
  "oklch": {
    "l": 0.62283,
    "c": 0.22988,
    "h": 308.3
  },
  "luminance": 0.21057
}

Semantic roles & 50–950 ramp

primary
#AE51EE
secondary
#C8EAB1
accent
#DF075F
background
#FCF8FF
surface
#F9F0FE
border
#D2CBD6
text
#140C17
muted
#827D85

Preview Lab

Preview with #AE51EE

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

Preview Lab → · Contrast checker → · Palette generator →

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