#AE51BB#AE51BB

#AE51BB is a mid, vivid purple. Relative luminance 0.185; OKLCH L 59.2% C 0.180 H 322.6°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#AE51BB
RGBrgb(174, 81, 187)
HSLhsl(293, 44%, 53%)
HSVhsv(293, 57%, 73%)
CMYKcmyk(7%, 56.7%, 0%, 26.7%)
CIE-LABlab(50.06, 53.26, -39.38)
CIE-LCHlch(50.06, 66.24, 323.52°)
OKLaboklab(59.2% 0.1428 -0.1092)
OKLCHoklch(59.2% 0.18 322.6)
XYZxyz(29.3667, 18.4728, 49.0228)
Luminance0.1847 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE51BB #5EBB51
analogous
#7951BB #AE51BB #BB5193
triadic
#AE51BB #BBAE51 #51BBAE
tetradic
#AE51BB #BB7951 #5EBB51 #5193BB
square
#AE51BB #BB7951 #5EBB51 #5193BB
split-complementary
#AE51BB #93BB51 #51BB79
monochromatic
#612969 #8A3A95 #AE51BB #C27DCC #D7A9DD

Accessibility & contrast

On white

4.47
#AE51BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#AE51BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE51BB
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE51BB#FFFFFF#000000##000000
##AE51BB1.004.474.694.69
#FFFFFF4.471.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F70BE
Deuteranopia (green-blind)
#5E7BB8
Tritanopia (blue-blind)
#B0607E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ae51bb;
/* rgb */ color: rgb(174, 81, 187);
/* oklch */ color: oklch(59.2% 0.180 322.6);
Tailwind
colors: {
  custom: {
    50: '#c987d0',
    500: '#ae51bb',
    950: '#000000',
  },
}
SCSS
$custom: #ae51bb;
$custom-light: #c987d0;
$custom-dark: #000000;
JSON
{
  "hex": "#ae51bb",
  "rgb": {
    "r": 174,
    "g": 81,
    "b": 187
  },
  "hsl": {
    "h": 292.642,
    "s": 43.802,
    "l": 52.549
  },
  "oklch": {
    "l": 0.592,
    "c": 0.17976,
    "h": 322.6
  },
  "luminance": 0.18471
}

Semantic roles & 50–950 ramp

primary
#AE51BB
secondary
#A3CB9D
accent
#D45464
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#130C14
muted
#827D82

Preview Lab

Preview with #AE51BB

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

Preview Lab → · Contrast checker → · Palette generator →

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