#AE51BC#AE51BC

#AE51BC is a mid, vivid purple. Relative luminance 0.185; OKLCH L 59.3% C 0.181 H 322.2°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#AE51BC
RGBrgb(174, 81, 188)
HSLhsl(292, 44%, 53%)
HSVhsv(292, 57%, 74%)
CMYKcmyk(7.4%, 56.9%, 0%, 26.3%)
CIE-LABlab(50.12, 53.45, -39.88)
CIE-LCHlch(50.12, 66.69, 323.27°)
OKLaboklab(59.25% 0.1429 -0.1106)
OKLCHoklch(59.25% 0.181 322.2)
XYZxyz(29.4741, 18.5158, 49.5886)
Luminance0.1851 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE51BC #5FBC51
analogous
#7951BC #AE51BC #BC5194
triadic
#AE51BC #BCAE51 #51BCAE
tetradic
#AE51BC #BC7951 #5FBC51 #5194BC
square
#AE51BC #BC7951 #5FBC51 #5194BC
split-complementary
#AE51BC #94BC51 #51BC79
monochromatic
#61296A #8A3A96 #AE51BC #C37DCD #D7A9DE

Accessibility & contrast

On white

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

On black

4.70
#AE51BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE51BC
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE51BC#FFFFFF#000000##000000
##AE51BC1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E70BF
Deuteranopia (green-blind)
#5E7BB9
Tritanopia (blue-blind)
#B0607F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ae51bc;
/* rgb */ color: rgb(174, 81, 188);
/* oklch */ color: oklch(59.3% 0.181 322.2);
Tailwind
colors: {
  custom: {
    50: '#c987d0',
    500: '#ae51bc',
    950: '#000000',
  },
}
SCSS
$custom: #ae51bc;
$custom-light: #c987d0;
$custom-dark: #000000;
JSON
{
  "hex": "#ae51bc",
  "rgb": {
    "r": 174,
    "g": 81,
    "b": 188
  },
  "hsl": {
    "h": 292.15,
    "s": 44.398,
    "l": 52.745
  },
  "oklch": {
    "l": 0.59254,
    "c": 0.1807,
    "h": 322.2
  },
  "luminance": 0.18514
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AE51BC

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

Preview Lab → · Contrast checker → · Palette generator →

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