#AE51D5#AE51D5

#AE51D5 is a mid, highly saturated purple. Relative luminance 0.197; OKLCH L 60.7% C 0.205 H 314.5°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#AE51D5
RGBrgb(174, 81, 213)
HSLhsl(282, 61%, 58%)
HSVhsv(282, 62%, 84%)
CMYKcmyk(18.3%, 62%, 0%, 16.5%)
CIE-LABlab(51.48, 58.42, -52.08)
CIE-LCHlch(51.48, 78.27, 318.29°)
OKLaboklab(60.69% 0.1437 -0.1462)
OKLCHoklch(60.69% 0.205 314.5)
XYZxyz(32.4063, 19.6887, 65.0311)
Luminance0.1969 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE51D5 #78D551
analogous
#6C51D5 #AE51D5 #D551BA
triadic
#AE51D5 #D5AE51 #51D5AE
tetradic
#AE51D5 #D56C51 #78D551 #51BAD5
square
#AE51D5 #D56C51 #78D551 #51BAD5
split-complementary
#AE51D5 #BAD551 #51D56C
monochromatic
#6B218A #922DBC #AE51D5 #C582E1 #DCB4ED

Accessibility & contrast

On white

4.25
#AE51D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#AE51D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE51D5
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE51D5#FFFFFF#000000##000000
##AE51D51.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2075D9
Deuteranopia (green-blind)
#4D7DD2
Tritanopia (blue-blind)
#AB698C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ae51d5;
/* rgb */ color: rgb(174, 81, 213);
/* oklch */ color: oklch(60.7% 0.205 314.5);
Tailwind
colors: {
  custom: {
    50: '#c987e2',
    500: '#ae51d5',
    950: '#000000',
  },
}
SCSS
$custom: #ae51d5;
$custom-light: #c987e2;
$custom-dark: #000000;
JSON
{
  "hex": "#ae51d5",
  "rgb": {
    "r": 174,
    "g": 81,
    "b": 213
  },
  "hsl": {
    "h": 282.273,
    "s": 61.111,
    "l": 57.647
  },
  "oklch": {
    "l": 0.60691,
    "c": 0.205,
    "h": 314.5
  },
  "luminance": 0.19688
}

Semantic roles & 50–950 ramp

primary
#AE51D5
secondary
#B6DBA6
accent
#E44473
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #AE51D5

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

Preview Lab → · Contrast checker → · Palette generator →

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