#AE51CE#AE51CE

#AE51CE is a mid, vivid purple. Relative luminance 0.193; OKLCH L 60.3% C 0.198 H 316.5°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#AE51CE
RGBrgb(174, 81, 206)
HSLhsl(285, 56%, 56%)
HSVhsv(285, 61%, 81%)
CMYKcmyk(15.5%, 60.7%, 0%, 19.2%)
CIE-LABlab(51.08, 57.00, -48.72)
CIE-LCHlch(51.08, 74.98, 319.48°)
OKLaboklab(60.27% 0.1437 -0.1363)
OKLCHoklch(60.27% 0.198 316.5)
XYZxyz(31.5369, 19.3409, 60.4525)
Luminance0.1934 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE51CE #71CE51
analogous
#7051CE #AE51CE #CE51B0
triadic
#AE51CE #CEAE51 #51CEAE
tetradic
#AE51CE #CE7051 #71CE51 #51B0CE
square
#AE51CE #CE7051 #71CE51 #51B0CE
split-complementary
#AE51CE #B0CE51 #51CE70
monochromatic
#692480 #9032B0 #AE51CE #C481DB #DAB1E9

Accessibility & contrast

On white

4.31
#AE51CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#AE51CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE51CE
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE51CE#FFFFFF#000000##000000
##AE51CE1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B74D2
Deuteranopia (green-blind)
#537CCB
Tritanopia (blue-blind)
#AC6788
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ae51ce;
/* rgb */ color: rgb(174, 81, 206);
/* oklch */ color: oklch(60.3% 0.198 316.5);
Tailwind
colors: {
  custom: {
    50: '#c987dd',
    500: '#ae51ce',
    950: '#000000',
  },
}
SCSS
$custom: #ae51ce;
$custom-light: #c987dd;
$custom-dark: #000000;
JSON
{
  "hex": "#ae51ce",
  "rgb": {
    "r": 174,
    "g": 81,
    "b": 206
  },
  "hsl": {
    "h": 284.64,
    "s": 56.054,
    "l": 56.275
  },
  "oklch": {
    "l": 0.60273,
    "c": 0.19811,
    "h": 316.5
  },
  "luminance": 0.1934
}

Semantic roles & 50–950 ramp

primary
#AE51CE
secondary
#B1D7A4
accent
#DF486F
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #AE51CE

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

Preview Lab → · Contrast checker → · Palette generator →

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