#AE51BF#AE51BF

#AE51BF is a mid, vivid purple. Relative luminance 0.186; OKLCH L 59.4% C 0.184 H 321.2°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#AE51BF
RGBrgb(174, 81, 191)
HSLhsl(291, 46%, 53%)
HSVhsv(291, 58%, 75%)
CMYKcmyk(8.9%, 57.6%, 0%, 25.1%)
CIE-LABlab(50.27, 54.03, -41.38)
CIE-LCHlch(50.27, 68.05, 322.55°)
OKLaboklab(59.42% 0.1431 -0.115)
OKLCHoklch(59.42% 0.184 321.2)
XYZxyz(29.8009, 18.6465, 51.3095)
Luminance0.1865 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE51BF #62BF51
analogous
#7751BF #AE51BF #BF5199
triadic
#AE51BF #BFAE51 #51BFAE
tetradic
#AE51BF #BF7751 #62BF51 #5199BF
square
#AE51BF #BF7751 #62BF51 #5199BF
split-complementary
#AE51BF #99BF51 #51BF77
monochromatic
#63286D #8B399A #AE51BF #C37ECF #D8AAE0

Accessibility & contrast

On white

4.44
#AE51BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#AE51BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE51BF
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE51BF#FFFFFF#000000##000000
##AE51BF1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B71C2
Deuteranopia (green-blind)
#5C7BBC
Tritanopia (blue-blind)
#B06180
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ae51bf;
/* rgb */ color: rgb(174, 81, 191);
/* oklch */ color: oklch(59.4% 0.184 321.2);
Tailwind
colors: {
  custom: {
    50: '#c987d3',
    500: '#ae51bf',
    950: '#000000',
  },
}
SCSS
$custom: #ae51bf;
$custom-light: #c987d3;
$custom-dark: #000000;
JSON
{
  "hex": "#ae51bf",
  "rgb": {
    "r": 174,
    "g": 81,
    "b": 191
  },
  "hsl": {
    "h": 290.727,
    "s": 46.218,
    "l": 53.333
  },
  "oklch": {
    "l": 0.59418,
    "c": 0.18356,
    "h": 321.2
  },
  "luminance": 0.18645
}

Semantic roles & 50–950 ramp

primary
#AE51BF
secondary
#A6CE9E
accent
#D65266
background
#FCF8FD
surface
#F9F0FA
border
#D2CBD3
text
#130C14
muted
#827D83

Preview Lab

Preview with #AE51BF

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

Preview Lab → · Contrast checker → · Palette generator →

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