#AE87DB#AE87DB

#AE87DB is a light, vivid violet. Relative luminance 0.314; OKLCH L 69.2% C 0.126 H 304.7°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#AE87DB
RGBrgb(174, 135, 219)
HSLhsl(268, 54%, 69%)
HSVhsv(268, 38%, 86%)
CMYKcmyk(20.5%, 38.4%, 0%, 14.1%)
CIE-LABlab(62.88, 31.24, -37.45)
CIE-LCHlch(62.88, 48.78, 309.84°)
OKLaboklab(69.25% 0.0719 -0.1039)
OKLCHoklch(69.25% 0.126 304.7)
XYZxyz(38.9031, 31.4412, 71.0234)
Luminance0.3144 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE87DB #B4DB87
analogous
#878ADB #AE87DB #D887DB
triadic
#AE87DB #DBAE87 #87DBAE
tetradic
#AE87DB #DB878A #B4DB87 #87DBD8
square
#AE87DB #DB878A #B4DB87 #87DBD8
split-complementary
#AE87DB #DBD887 #8ADB87
monochromatic
#6F35B2 #8E58CD #AE87DB #CEB6E9 #EEE5F7

Accessibility & contrast

On white

2.88
#AE87DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#AE87DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AE87DB
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE87DB#FFFFFF#000000##000000
##AE87DB1.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7497DE
Deuteranopia (green-blind)
#7C98D9
Tritanopia (blue-blind)
#A794A7
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ae87db;
/* rgb */ color: rgb(174, 135, 219);
/* oklch */ color: oklch(69.2% 0.126 304.7);
Tailwind
colors: {
  custom: {
    50: '#c7aae6',
    500: '#ae87db',
    950: '#000000',
  },
}
SCSS
$custom: #ae87db;
$custom-light: #c7aae6;
$custom-dark: #000000;
JSON
{
  "hex": "#ae87db",
  "rgb": {
    "r": 174,
    "g": 135,
    "b": 219
  },
  "hsl": {
    "h": 267.857,
    "s": 53.846,
    "l": 69.412
  },
  "oklch": {
    "l": 0.69248,
    "c": 0.12637,
    "h": 304.7
  },
  "luminance": 0.31441
}

Semantic roles & 50–950 ramp

primary
#AE87DB
secondary
#E0EBD3
accent
#C12478
background
#FCFAFE
surface
#F8F4FC
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #AE87DB

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

Preview Lab → · Contrast checker → · Palette generator →

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