#AE87D7#AE87D7

#AE87D7 is a light, vivid violet. Relative luminance 0.312; OKLCH L 69.1% C 0.121 H 305.9°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#AE87D7
RGBrgb(174, 135, 215)
HSLhsl(269, 50%, 69%)
HSVhsv(269, 37%, 84%)
CMYKcmyk(19.1%, 37.2%, 0%, 15.7%)
CIE-LABlab(62.70, 30.33, -35.49)
CIE-LCHlch(62.70, 46.69, 310.52°)
OKLaboklab(69.06% 0.0711 -0.0983)
OKLCHoklch(69.06% 0.121 305.9)
XYZxyz(38.3828, 31.2331, 68.2833)
Luminance0.3123 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE87D7 #B0D787
analogous
#8788D7 #AE87D7 #D687D7
triadic
#AE87D7 #D7AE87 #87D7AE
tetradic
#AE87D7 #D78788 #B0D787 #87D7D6
square
#AE87D7 #D78788 #B0D787 #87D7D6
split-complementary
#AE87D7 #D7D687 #88D787
monochromatic
#7039AB #8F59C8 #AE87D7 #CDB5E6 #ECE3F6

Accessibility & contrast

On white

2.90
#AE87D7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#AE87D7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AE87D7
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE87D7#FFFFFF#000000##000000
##AE87D71.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7696DA
Deuteranopia (green-blind)
#7E98D5
Tritanopia (blue-blind)
#A893A5
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ae87d7;
/* rgb */ color: rgb(174, 135, 215);
/* oklch */ color: oklch(69.1% 0.121 305.9);
Tailwind
colors: {
  custom: {
    50: '#c7aae3',
    500: '#ae87d7',
    950: '#000000',
  },
}
SCSS
$custom: #ae87d7;
$custom-light: #c7aae3;
$custom-dark: #000000;
JSON
{
  "hex": "#ae87d7",
  "rgb": {
    "r": 174,
    "g": 135,
    "b": 215
  },
  "hsl": {
    "h": 269.25,
    "s": 50,
    "l": 68.627
  },
  "oklch": {
    "l": 0.69058,
    "c": 0.12128,
    "h": 305.9
  },
  "luminance": 0.31233
}

Semantic roles & 50–950 ramp

primary
#AE87D7
secondary
#DDE9D1
accent
#BD2875
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#131015
muted
#827F83

Preview Lab

Preview with #AE87D7

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

Preview Lab → · Contrast checker → · Palette generator →

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