#AE51DB#AE51DB

#AE51DB is a mid, highly saturated purple. Relative luminance 0.200; OKLCH L 61.1% C 0.211 H 312.9°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#AE51DB
RGBrgb(174, 81, 219)
HSLhsl(280, 66%, 59%)
HSVhsv(280, 63%, 86%)
CMYKcmyk(20.5%, 63%, 0%, 14.1%)
CIE-LABlab(51.84, 59.67, -54.93)
CIE-LCHlch(51.84, 81.10, 317.37°)
OKLaboklab(61.06% 0.1436 -0.1545)
OKLCHoklch(61.06% 0.211 312.9)
XYZxyz(33.1819, 19.9989, 69.1163)
Luminance0.2000 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE51DB #7EDB51
analogous
#6951DB #AE51DB #DB51C3
triadic
#AE51DB #DBAE51 #51DBAE
tetradic
#AE51DB #DB6951 #7EDB51 #51C3DB
square
#AE51DB #DB6951 #7EDB51 #51C3DB
split-complementary
#AE51DB #C3DB51 #51DB69
monochromatic
#6D1E93 #9329C6 #AE51DB #C684E5 #DDB6F0

Accessibility & contrast

On white

4.20
#AE51DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#AE51DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE51DB
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE51DB#FFFFFF#000000##000000
##AE51DB1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1277DF
Deuteranopia (green-blind)
#487ED8
Tritanopia (blue-blind)
#A96B8F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ae51db;
/* rgb */ color: rgb(174, 81, 219);
/* oklch */ color: oklch(61.1% 0.211 312.9);
Tailwind
colors: {
  custom: {
    50: '#ca87e7',
    500: '#ae51db',
    950: '#000000',
  },
}
SCSS
$custom: #ae51db;
$custom-light: #ca87e7;
$custom-dark: #000000;
JSON
{
  "hex": "#ae51db",
  "rgb": {
    "r": 174,
    "g": 81,
    "b": 219
  },
  "hsl": {
    "h": 280.435,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.6106,
    "c": 0.21095,
    "h": 312.9
  },
  "luminance": 0.19998
}

Semantic roles & 50–950 ramp

primary
#AE51DB
secondary
#BADFA9
accent
#E93F76
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AE51DB

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

Preview Lab → · Contrast checker → · Palette generator →

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