#AE51C8#AE51C8

#AE51C8 is a mid, vivid purple. Relative luminance 0.191; OKLCH L 59.9% C 0.192 H 318.3°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#AE51C8
RGBrgb(174, 81, 200)
HSLhsl(287, 52%, 55%)
HSVhsv(287, 60%, 78%)
CMYKcmyk(13%, 59.5%, 0%, 21.6%)
CIE-LABlab(50.75, 55.79, -45.80)
CIE-LCHlch(50.75, 72.19, 320.61°)
OKLaboklab(59.92% 0.1436 -0.1278)
OKLCHoklch(59.92% 0.192 318.3)
XYZxyz(30.8219, 19.0549, 56.6868)
Luminance0.1905 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE51C8 #6BC851
analogous
#7351C8 #AE51C8 #C851A6
triadic
#AE51C8 #C8AE51 #51C8AE
tetradic
#AE51C8 #C87351 #6BC851 #51A6C8
square
#AE51C8 #C87351 #6BC851 #51A6C8
split-complementary
#AE51C8 #A6C851 #51C873
monochromatic
#672679 #8E35A7 #AE51C8 #C480D7 #D9AEE5

Accessibility & contrast

On white

4.37
#AE51C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#AE51C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE51C8
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE51C8#FFFFFF#000000##000000
##AE51C81.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3373CC
Deuteranopia (green-blind)
#577CC5
Tritanopia (blue-blind)
#AE6485
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ae51c8;
/* rgb */ color: rgb(174, 81, 200);
/* oklch */ color: oklch(59.9% 0.192 318.3);
Tailwind
colors: {
  custom: {
    50: '#c987d9',
    500: '#ae51c8',
    950: '#000000',
  },
}
SCSS
$custom: #ae51c8;
$custom-light: #c987d9;
$custom-dark: #000000;
JSON
{
  "hex": "#ae51c8",
  "rgb": {
    "r": 174,
    "g": 81,
    "b": 200
  },
  "hsl": {
    "h": 286.891,
    "s": 51.965,
    "l": 55.098
  },
  "oklch": {
    "l": 0.59924,
    "c": 0.19224,
    "h": 318.3
  },
  "luminance": 0.19054
}

Semantic roles & 50–950 ramp

primary
#AE51C8
secondary
#ACD3A1
accent
#DB4C6C
background
#FCF8FD
surface
#F9F0FA
border
#D2CBD3
text
#130C15
muted
#827D83

Preview Lab

Preview with #AE51C8

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

Preview Lab → · Contrast checker → · Palette generator →

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