#AE87D6#AE87D6

#AE87D6 is a light, vivid violet. Relative luminance 0.312; OKLCH L 69.0% C 0.120 H 306.2°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#AE87D6
RGBrgb(174, 135, 214)
HSLhsl(270, 49%, 68%)
HSVhsv(270, 37%, 84%)
CMYKcmyk(18.7%, 36.9%, 0%, 16.1%)
CIE-LABlab(62.66, 30.11, -35.00)
CIE-LCHlch(62.66, 46.17, 310.70°)
OKLaboklab(69.01% 0.0708 -0.0969)
OKLCHoklch(69.01% 0.12 306.2)
XYZxyz(38.2547, 31.1819, 67.6087)
Luminance0.3118 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE87D6 #AFD687
analogous
#8787D6 #AE87D6 #D587D6
triadic
#AE87D6 #D6AE87 #87D6AE
tetradic
#AE87D6 #D68787 #AFD687 #87D6D5
square
#AE87D6 #D68787 #AFD687 #87D6D5
split-complementary
#AE87D6 #D6D587 #87D687
monochromatic
#713AA9 #8F59C6 #AE87D6 #CDB5E6 #ECE2F5

Accessibility & contrast

On white

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

On black

7.24
#AE87D6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AE87D6
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE87D6#FFFFFF#000000##000000
##AE87D61.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ae87d6;
/* rgb */ color: rgb(174, 135, 214);
/* oklch */ color: oklch(69.0% 0.120 306.2);
Tailwind
colors: {
  custom: {
    50: '#c7aae3',
    500: '#ae87d6',
    950: '#000000',
  },
}
SCSS
$custom: #ae87d6;
$custom-light: #c7aae3;
$custom-dark: #000000;
JSON
{
  "hex": "#ae87d6",
  "rgb": {
    "r": 174,
    "g": 135,
    "b": 214
  },
  "hsl": {
    "h": 269.62,
    "s": 49.068,
    "l": 68.431
  },
  "oklch": {
    "l": 0.69011,
    "c": 0.12,
    "h": 306.2
  },
  "luminance": 0.31182
}

Semantic roles & 50–950 ramp

primary
#AE87D6
secondary
#DDE8D1
accent
#BC2974
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#131015
muted
#827F83

Preview Lab

Preview with #AE87D6

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

Preview Lab → · Contrast checker → · Palette generator →

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