#AE51DF#AE51DF

#AE51DF is a mid, highly saturated violet. Relative luminance 0.202; OKLCH L 61.3% C 0.215 H 311.9°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#AE51DF
RGBrgb(174, 81, 223)
HSLhsl(279, 69%, 60%)
HSVhsv(279, 64%, 87%)
CMYKcmyk(22%, 63.7%, 0%, 12.5%)
CIE-LABlab(52.08, 60.51, -56.81)
CIE-LCHlch(52.08, 83.00, 316.81°)
OKLaboklab(61.31% 0.1435 -0.16)
OKLCHoklch(61.31% 0.215 311.9)
XYZxyz(33.7148, 20.2121, 71.9230)
Luminance0.2021 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE51DF #82DF51
analogous
#6751DF #AE51DF #DF51C9
triadic
#AE51DF #DFAE51 #51DFAE
tetradic
#AE51DF #DF6751 #82DF51 #51C9DF
square
#AE51DF #DF6751 #82DF51 #51C9DF
split-complementary
#AE51DF #C9DF51 #51DF67
monochromatic
#6E1C99 #9326CD #AE51DF #C685E9 #DEB8F2

Accessibility & contrast

On white

4.16
#AE51DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#AE51DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE51DF
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE51DF#FFFFFF#000000##000000
##AE51DF1.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078E3
Deuteranopia (green-blind)
#447EDC
Tritanopia (blue-blind)
#A86D91
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ae51df;
/* rgb */ color: rgb(174, 81, 223);
/* oklch */ color: oklch(61.3% 0.215 311.9);
Tailwind
colors: {
  custom: {
    50: '#ca87ea',
    500: '#ae51df',
    950: '#000000',
  },
}
SCSS
$custom: #ae51df;
$custom-light: #ca87ea;
$custom-dark: #000000;
JSON
{
  "hex": "#ae51df",
  "rgb": {
    "r": 174,
    "g": 81,
    "b": 223
  },
  "hsl": {
    "h": 279.296,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.6131,
    "c": 0.21492,
    "h": 311.9
  },
  "luminance": 0.20211
}

Semantic roles & 50–950 ramp

primary
#AE51DF
secondary
#BDE1AA
accent
#EC3C79
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AE51DF

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

Preview Lab → · Contrast checker → · Palette generator →

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