#AE51CD#AE51CD

#AE51CD is a mid, vivid purple. Relative luminance 0.193; OKLCH L 60.2% C 0.197 H 316.8°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#AE51CD
RGBrgb(174, 81, 205)
HSLhsl(285, 55%, 56%)
HSVhsv(285, 60%, 80%)
CMYKcmyk(15.1%, 60.5%, 0%, 19.6%)
CIE-LABlab(51.03, 56.79, -48.23)
CIE-LCHlch(51.03, 74.51, 319.66°)
OKLaboklab(60.21% 0.1437 -0.1349)
OKLCHoklch(60.21% 0.197 316.8)
XYZxyz(31.4158, 19.2925, 59.8147)
Luminance0.1929 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE51CD #70CD51
analogous
#7051CD #AE51CD #CD51AE
triadic
#AE51CD #CDAE51 #51CDAE
tetradic
#AE51CD #CD7051 #70CD51 #51AECD
square
#AE51CD #CD7051 #70CD51 #51AECD
split-complementary
#AE51CD #AECD51 #51CD70
monochromatic
#68257F #9032AF #AE51CD #C481DB #DAB0E8

Accessibility & contrast

On white

4.32
#AE51CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#AE51CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE51CD
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE51CD#FFFFFF#000000##000000
##AE51CD1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D74D1
Deuteranopia (green-blind)
#537CCA
Tritanopia (blue-blind)
#AD6688
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ae51cd;
/* rgb */ color: rgb(174, 81, 205);
/* oklch */ color: oklch(60.2% 0.197 316.8);
Tailwind
colors: {
  custom: {
    50: '#c987dd',
    500: '#ae51cd',
    950: '#000000',
  },
}
SCSS
$custom: #ae51cd;
$custom-light: #c987dd;
$custom-dark: #000000;
JSON
{
  "hex": "#ae51cd",
  "rgb": {
    "r": 174,
    "g": 81,
    "b": 205
  },
  "hsl": {
    "h": 285,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.60214,
    "c": 0.19713,
    "h": 316.8
  },
  "luminance": 0.19291
}

Semantic roles & 50–950 ramp

primary
#AE51CD
secondary
#B0D7A3
accent
#DF496F
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #AE51CD

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

Preview Lab → · Contrast checker → · Palette generator →

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