#AE51E6#AE51E6

#AE51E6 is a mid, highly saturated violet. Relative luminance 0.206; OKLCH L 61.8% C 0.222 H 310.2°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#AE51E6
RGBrgb(174, 81, 230)
HSLhsl(277, 75%, 61%)
HSVhsv(277, 65%, 90%)
CMYKcmyk(24.3%, 64.8%, 0%, 9.8%)
CIE-LABlab(52.51, 62.00, -60.07)
CIE-LCHlch(52.51, 86.32, 315.90°)
OKLaboklab(61.76% 0.1431 -0.1696)
OKLCHoklch(61.76% 0.222 310.2)
XYZxyz(34.6782, 20.5974, 76.9965)
Luminance0.2060 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE51E6 #89E651
analogous
#6351E6 #AE51E6 #E651D3
triadic
#AE51E6 #E6AE51 #51E6AE
tetradic
#AE51E6 #E66351 #89E651 #51D3E6
square
#AE51E6 #E66351 #89E651 #51D3E6
split-complementary
#AE51E6 #D3E651 #51E663
monochromatic
#7018A5 #941FDA #AE51E6 #C787EE #E0BCF5

Accessibility & contrast

On white

4.10
#AE51E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#AE51E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE51E6
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE51E6#FFFFFF#000000##000000
##AE51E61.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079EB
Deuteranopia (green-blind)
#3C7FE3
Tritanopia (blue-blind)
#A66F95
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ae51e6;
/* rgb */ color: rgb(174, 81, 230);
/* oklch */ color: oklch(61.8% 0.222 310.2);
Tailwind
colors: {
  custom: {
    50: '#ca88ef',
    500: '#ae51e6',
    950: '#000000',
  },
}
SCSS
$custom: #ae51e6;
$custom-light: #ca88ef;
$custom-dark: #000000;
JSON
{
  "hex": "#ae51e6",
  "rgb": {
    "r": 174,
    "g": 81,
    "b": 230
  },
  "hsl": {
    "h": 277.45,
    "s": 74.874,
    "l": 60.98
  },
  "oklch": {
    "l": 0.61758,
    "c": 0.2219,
    "h": 310.2
  },
  "luminance": 0.20597
}

Semantic roles & 50–950 ramp

primary
#AE51E6
secondary
#C2E5AD
accent
#D70E5A
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AE51E6

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

Preview Lab → · Contrast checker → · Palette generator →

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