#AE51CF#AE51CF

#AE51CF is a mid, vivid purple. Relative luminance 0.194; OKLCH L 60.3% C 0.199 H 316.2°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#AE51CF
RGBrgb(174, 81, 207)
HSLhsl(284, 57%, 56%)
HSVhsv(284, 61%, 81%)
CMYKcmyk(15.9%, 60.9%, 0%, 18.8%)
CIE-LABlab(51.14, 57.20, -49.20)
CIE-LCHlch(51.14, 75.45, 319.30°)
OKLaboklab(60.33% 0.1437 -0.1378)
OKLCHoklch(60.33% 0.199 316.2)
XYZxyz(31.6588, 19.3897, 61.0943)
Luminance0.1939 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE51CF #72CF51
analogous
#6F51CF #AE51CF #CF51B1
triadic
#AE51CF #CFAE51 #51CFAE
tetradic
#AE51CF #CF6F51 #72CF51 #51B1CF
square
#AE51CF #CF6F51 #72CF51 #51B1CF
split-complementary
#AE51CF #B1CF51 #51CF6F
monochromatic
#692482 #9031B2 #AE51CF #C481DC #DBB1E9

Accessibility & contrast

On white

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

On black

4.88
#AE51CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE51CF
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE51CF#FFFFFF#000000##000000
##AE51CF1.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A74D3
Deuteranopia (green-blind)
#527DCC
Tritanopia (blue-blind)
#AC6789
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ae51cf;
/* rgb */ color: rgb(174, 81, 207);
/* oklch */ color: oklch(60.3% 0.199 316.2);
Tailwind
colors: {
  custom: {
    50: '#c987de',
    500: '#ae51cf',
    950: '#000000',
  },
}
SCSS
$custom: #ae51cf;
$custom-light: #c987de;
$custom-dark: #000000;
JSON
{
  "hex": "#ae51cf",
  "rgb": {
    "r": 174,
    "g": 81,
    "b": 207
  },
  "hsl": {
    "h": 284.286,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.60332,
    "c": 0.1991,
    "h": 316.2
  },
  "luminance": 0.19389
}

Semantic roles & 50–950 ramp

primary
#AE51CF
secondary
#B2D8A4
accent
#E04870
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #AE51CF

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

Preview Lab → · Contrast checker → · Palette generator →

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