#AE51E7#AE51E7

#AE51E7 is a mid, highly saturated violet. Relative luminance 0.207; OKLCH L 61.8% C 0.223 H 309.9°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#AE51E7
RGBrgb(174, 81, 231)
HSLhsl(277, 76%, 61%)
HSVhsv(277, 65%, 91%)
CMYKcmyk(24.7%, 64.9%, 0%, 9.4%)
CIE-LABlab(52.57, 62.21, -60.53)
CIE-LCHlch(52.57, 86.80, 315.78°)
OKLaboklab(61.82% 0.143 -0.1709)
OKLCHoklch(61.82% 0.223 309.9)
XYZxyz(34.8190, 20.6537, 77.7381)
Luminance0.2065 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE51E7 #8AE751
analogous
#6351E7 #AE51E7 #E751D5
triadic
#AE51E7 #E7AE51 #51E7AE
tetradic
#AE51E7 #E76351 #8AE751 #51D5E7
square
#AE51E7 #E76351 #8AE751 #51D5E7
split-complementary
#AE51E7 #D5E751 #51E763
monochromatic
#7017A7 #941EDC #AE51E7 #C787EE #E0BDF6

Accessibility & contrast

On white

4.09
#AE51E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#AE51E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE51E7
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE51E7#FFFFFF#000000##000000
##AE51E71.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079EC
Deuteranopia (green-blind)
#3B7FE4
Tritanopia (blue-blind)
#A67095
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ae51e7;
/* rgb */ color: rgb(174, 81, 231);
/* oklch */ color: oklch(61.8% 0.223 309.9);
Tailwind
colors: {
  custom: {
    50: '#ca88ef',
    500: '#ae51e7',
    950: '#000000',
  },
}
SCSS
$custom: #ae51e7;
$custom-light: #ca88ef;
$custom-dark: #000000;
JSON
{
  "hex": "#ae51e7",
  "rgb": {
    "r": 174,
    "g": 81,
    "b": 231
  },
  "hsl": {
    "h": 277.2,
    "s": 75.758,
    "l": 61.176
  },
  "oklch": {
    "l": 0.61822,
    "c": 0.22289,
    "h": 309.9
  },
  "luminance": 0.20653
}

Semantic roles & 50–950 ramp

primary
#AE51E7
secondary
#C3E6AE
accent
#D80E5A
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #AE51E7

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

Preview Lab → · Contrast checker → · Palette generator →

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