#AE87D5#AE87D5

#AE87D5 is a light, moderate violet. Relative luminance 0.311; OKLCH L 69.0% C 0.119 H 306.5°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#AE87D5
RGBrgb(174, 135, 213)
HSLhsl(270, 48%, 68%)
HSVhsv(270, 37%, 84%)
CMYKcmyk(18.3%, 36.6%, 0%, 16.5%)
CIE-LABlab(62.62, 29.88, -34.51)
CIE-LCHlch(62.62, 45.65, 310.89°)
OKLaboklab(68.97% 0.0706 -0.0955)
OKLCHoklch(68.97% 0.119 306.5)
XYZxyz(38.1274, 31.1310, 66.9382)
Luminance0.3113 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE87D5 #AED587
analogous
#8787D5 #AE87D5 #D587D5
triadic
#AE87D5 #D5AE87 #87D5AE
tetradic
#AE87D5 #D58787 #AED587 #87D5D5
square
#AE87D5 #D58787 #AED587 #87D5D5
split-complementary
#AE87D5 #D5D587 #87D587
monochromatic
#713AA7 #8F5AC5 #AE87D5 #CDB4E5 #EBE2F5

Accessibility & contrast

On white

2.91
#AE87D5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#AE87D5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AE87D5
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE87D5#FFFFFF#000000##000000
##AE87D51.002.917.237.23
#FFFFFF2.911.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7796D8
Deuteranopia (green-blind)
#7F98D3
Tritanopia (blue-blind)
#A893A4
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ae87d5;
/* rgb */ color: rgb(174, 135, 213);
/* oklch */ color: oklch(69.0% 0.119 306.5);
Tailwind
colors: {
  custom: {
    50: '#c7aae2',
    500: '#ae87d5',
    950: '#000000',
  },
}
SCSS
$custom: #ae87d5;
$custom-light: #c7aae2;
$custom-dark: #000000;
JSON
{
  "hex": "#ae87d5",
  "rgb": {
    "r": 174,
    "g": 135,
    "b": 213
  },
  "hsl": {
    "h": 270,
    "s": 48.148,
    "l": 68.235
  },
  "oklch": {
    "l": 0.68965,
    "c": 0.11874,
    "h": 306.5
  },
  "luminance": 0.31131
}

Semantic roles & 50–950 ramp

primary
#AE87D5
secondary
#DCE8D0
accent
#BB2A73
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#131015
muted
#827F83

Preview Lab

Preview with #AE87D5

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

Preview Lab → · Contrast checker → · Palette generator →

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