#AE51DE#AE51DE

#AE51DE is a mid, highly saturated violet. Relative luminance 0.202; OKLCH L 61.2% C 0.214 H 312.1°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#AE51DE
RGBrgb(174, 81, 222)
HSLhsl(280, 68%, 59%)
HSVhsv(280, 64%, 87%)
CMYKcmyk(21.6%, 63.5%, 0%, 12.9%)
CIE-LABlab(52.02, 60.30, -56.34)
CIE-LCHlch(52.02, 82.52, 316.94°)
OKLaboklab(61.25% 0.1435 -0.1587)
OKLCHoklch(61.25% 0.214 312.1)
XYZxyz(33.5804, 20.1583, 71.2151)
Luminance0.2016 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE51DE #81DE51
analogous
#6751DE #AE51DE #DE51C8
triadic
#AE51DE #DEAE51 #51DEAE
tetradic
#AE51DE #DE6751 #81DE51 #51C8DE
square
#AE51DE #DE6751 #81DE51 #51C8DE
split-complementary
#AE51DE #C8DE51 #51DE67
monochromatic
#6E1D98 #9327CB #AE51DE #C684E8 #DEB8F2

Accessibility & contrast

On white

4.17
#AE51DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#AE51DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE51DE
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE51DE#FFFFFF#000000##000000
##AE51DE1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0577E2
Deuteranopia (green-blind)
#457EDB
Tritanopia (blue-blind)
#A96C90
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ae51de;
/* rgb */ color: rgb(174, 81, 222);
/* oklch */ color: oklch(61.2% 0.214 312.1);
Tailwind
colors: {
  custom: {
    50: '#ca87e9',
    500: '#ae51de',
    950: '#000000',
  },
}
SCSS
$custom: #ae51de;
$custom-light: #ca87e9;
$custom-dark: #000000;
JSON
{
  "hex": "#ae51de",
  "rgb": {
    "r": 174,
    "g": 81,
    "b": 222
  },
  "hsl": {
    "h": 279.574,
    "s": 68.116,
    "l": 59.412
  },
  "oklch": {
    "l": 0.61247,
    "c": 0.21393,
    "h": 312.1
  },
  "luminance": 0.20157
}

Semantic roles & 50–950 ramp

primary
#AE51DE
secondary
#BDE1AA
accent
#EB3D78
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AE51DE

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

Preview Lab → · Contrast checker → · Palette generator →

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