#AE51CC#AE51CC

#AE51CC is a mid, vivid purple. Relative luminance 0.192; OKLCH L 60.2% C 0.196 H 317.1°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#AE51CC
RGBrgb(174, 81, 204)
HSLhsl(285, 55%, 56%)
HSVhsv(285, 60%, 80%)
CMYKcmyk(14.7%, 60.3%, 0%, 20%)
CIE-LABlab(50.97, 56.59, -47.75)
CIE-LCHlch(50.97, 74.05, 319.84°)
OKLaboklab(60.16% 0.1437 -0.1335)
OKLCHoklch(60.16% 0.196 317.1)
XYZxyz(31.2955, 19.2443, 59.1810)
Luminance0.1924 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE51CC #6FCC51
analogous
#7051CC #AE51CC #CC51AC
triadic
#AE51CC #CCAE51 #51CCAE
tetradic
#AE51CC #CC7051 #6FCC51 #51ACCC
square
#AE51CC #CC7051 #6FCC51 #51ACCC
split-complementary
#AE51CC #ACCC51 #51CC70
monochromatic
#68257E #8F33AD #AE51CC #C480DA #DAB0E8

Accessibility & contrast

On white

4.33
#AE51CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#AE51CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE51CC
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE51CC#FFFFFF#000000##000000
##AE51CC1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E74D0
Deuteranopia (green-blind)
#547CC9
Tritanopia (blue-blind)
#AD6687
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ae51cc;
/* rgb */ color: rgb(174, 81, 204);
/* oklch */ color: oklch(60.2% 0.196 317.1);
Tailwind
colors: {
  custom: {
    50: '#c987dc',
    500: '#ae51cc',
    950: '#000000',
  },
}
SCSS
$custom: #ae51cc;
$custom-light: #c987dc;
$custom-dark: #000000;
JSON
{
  "hex": "#ae51cc",
  "rgb": {
    "r": 174,
    "g": 81,
    "b": 204
  },
  "hsl": {
    "h": 285.366,
    "s": 54.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.60155,
    "c": 0.19615,
    "h": 317.1
  },
  "luminance": 0.19243
}

Semantic roles & 50–950 ramp

primary
#AE51CC
secondary
#AFD6A3
accent
#DE4A6E
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #AE51CC

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

Preview Lab → · Contrast checker → · Palette generator →

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