#AE51D2#AE51D2

#AE51D2 is a mid, highly saturated purple. Relative luminance 0.195; OKLCH L 60.5% C 0.202 H 315.4°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#AE51D2
RGBrgb(174, 81, 210)
HSLhsl(283, 59%, 57%)
HSVhsv(283, 61%, 82%)
CMYKcmyk(17.1%, 61.4%, 0%, 17.6%)
CIE-LABlab(51.31, 57.81, -50.64)
CIE-LCHlch(51.31, 76.85, 318.78°)
OKLaboklab(60.51% 0.1438 -0.142)
OKLCHoklch(60.51% 0.202 315.4)
XYZxyz(32.0290, 19.5378, 63.0443)
Luminance0.1954 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE51D2 #75D251
analogous
#6E51D2 #AE51D2 #D251B5
triadic
#AE51D2 #D2AE51 #51D2AE
tetradic
#AE51D2 #D26E51 #75D251 #51B5D2
square
#AE51D2 #D26E51 #75D251 #51B5D2
split-complementary
#AE51D2 #B5D251 #51D26E
monochromatic
#6A2386 #912FB7 #AE51D2 #C582DF #DBB2EB

Accessibility & contrast

On white

4.28
#AE51D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#AE51D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE51D2
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE51D2#FFFFFF#000000##000000
##AE51D21.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2675D6
Deuteranopia (green-blind)
#507DCF
Tritanopia (blue-blind)
#AC688A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ae51d2;
/* rgb */ color: rgb(174, 81, 210);
/* oklch */ color: oklch(60.5% 0.202 315.4);
Tailwind
colors: {
  custom: {
    50: '#c987e0',
    500: '#ae51d2',
    950: '#000000',
  },
}
SCSS
$custom: #ae51d2;
$custom-light: #c987e0;
$custom-dark: #000000;
JSON
{
  "hex": "#ae51d2",
  "rgb": {
    "r": 174,
    "g": 81,
    "b": 210
  },
  "hsl": {
    "h": 283.256,
    "s": 58.904,
    "l": 57.059
  },
  "oklch": {
    "l": 0.6051,
    "c": 0.20204,
    "h": 315.4
  },
  "luminance": 0.19537
}

Semantic roles & 50–950 ramp

primary
#AE51D2
secondary
#B4DAA5
accent
#E24671
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #AE51D2

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

Preview Lab → · Contrast checker → · Palette generator →

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