#AE87D8#AE87D8

#AE87D8 is a light, vivid violet. Relative luminance 0.313; OKLCH L 69.1% C 0.123 H 305.6°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#AE87D8
RGBrgb(174, 135, 216)
HSLhsl(269, 51%, 69%)
HSVhsv(269, 38%, 85%)
CMYKcmyk(19.4%, 37.5%, 0%, 15.3%)
CIE-LABlab(62.75, 30.56, -35.99)
CIE-LCHlch(62.75, 47.21, 310.34°)
OKLaboklab(69.11% 0.0713 -0.0997)
OKLCHoklch(69.11% 0.123 305.6)
XYZxyz(38.5117, 31.2847, 68.9621)
Luminance0.3128 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE87D8 #B1D887
analogous
#8789D8 #AE87D8 #D787D8
triadic
#AE87D8 #D8AE87 #87D8AE
tetradic
#AE87D8 #D88789 #B1D887 #87D8D7
square
#AE87D8 #D88789 #B1D887 #87D8D7
split-complementary
#AE87D8 #D8D787 #89D887
monochromatic
#7038AD #8F59C9 #AE87D8 #CDB5E7 #ECE3F6

Accessibility & contrast

On white

2.89
#AE87D8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#AE87D8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AE87D8
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE87D8#FFFFFF#000000##000000
##AE87D81.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7596DB
Deuteranopia (green-blind)
#7E98D6
Tritanopia (blue-blind)
#A893A5
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ae87d8;
/* rgb */ color: rgb(174, 135, 216);
/* oklch */ color: oklch(69.1% 0.123 305.6);
Tailwind
colors: {
  custom: {
    50: '#c7aae4',
    500: '#ae87d8',
    950: '#000000',
  },
}
SCSS
$custom: #ae87d8;
$custom-light: #c7aae4;
$custom-dark: #000000;
JSON
{
  "hex": "#ae87d8",
  "rgb": {
    "r": 174,
    "g": 135,
    "b": 216
  },
  "hsl": {
    "h": 268.889,
    "s": 50.943,
    "l": 68.824
  },
  "oklch": {
    "l": 0.69105,
    "c": 0.12255,
    "h": 305.6
  },
  "luminance": 0.31284
}

Semantic roles & 50–950 ramp

primary
#AE87D8
secondary
#DEE9D1
accent
#BE2776
background
#FCFAFE
surface
#F8F4FC
border
#D1CED5
text
#131015
muted
#827F84

Preview Lab

Preview with #AE87D8

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

Preview Lab → · Contrast checker → · Palette generator →

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