#AE51BD#AE51BD

#AE51BD is a mid, vivid purple. Relative luminance 0.186; OKLCH L 59.3% C 0.182 H 321.9°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#AE51BD
RGBrgb(174, 81, 189)
HSLhsl(292, 45%, 53%)
HSVhsv(292, 57%, 74%)
CMYKcmyk(7.9%, 57.1%, 0%, 25.9%)
CIE-LABlab(50.17, 53.64, -40.38)
CIE-LCHlch(50.17, 67.14, 323.03°)
OKLaboklab(59.31% 0.143 -0.1121)
OKLCHoklch(59.31% 0.182 321.9)
XYZxyz(29.5823, 18.5591, 50.1583)
Luminance0.1856 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE51BD #60BD51
analogous
#7851BD #AE51BD #BD5196
triadic
#AE51BD #BDAE51 #51BDAE
tetradic
#AE51BD #BD7851 #60BD51 #5196BD
square
#AE51BD #BD7851 #60BD51 #5196BD
split-complementary
#AE51BD #96BD51 #51BD78
monochromatic
#62296B #8A3997 #AE51BD #C37DCE #D7AADF

Accessibility & contrast

On white

4.46
#AE51BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#AE51BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE51BD
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE51BD#FFFFFF#000000##000000
##AE51BD1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D71C0
Deuteranopia (green-blind)
#5D7BBA
Tritanopia (blue-blind)
#B0617F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ae51bd;
/* rgb */ color: rgb(174, 81, 189);
/* oklch */ color: oklch(59.3% 0.182 321.9);
Tailwind
colors: {
  custom: {
    50: '#c987d1',
    500: '#ae51bd',
    950: '#000000',
  },
}
SCSS
$custom: #ae51bd;
$custom-light: #c987d1;
$custom-dark: #000000;
JSON
{
  "hex": "#ae51bd",
  "rgb": {
    "r": 174,
    "g": 81,
    "b": 189
  },
  "hsl": {
    "h": 291.667,
    "s": 45,
    "l": 52.941
  },
  "oklch": {
    "l": 0.59308,
    "c": 0.18166,
    "h": 321.9
  },
  "luminance": 0.18558
}

Semantic roles & 50–950 ramp

primary
#AE51BD
secondary
#A4CC9E
accent
#D55365
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#130C14
muted
#827D82

Preview Lab

Preview with #AE51BD

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

Preview Lab → · Contrast checker → · Palette generator →

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