#DB87EE#DB87EE

#DB87EE is a light, vivid purple. Relative luminance 0.386; OKLCH L 74.8% C 0.167 H 320.0°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#DB87EE
RGBrgb(219, 135, 238)
HSLhsl(289, 75%, 73%)
HSVhsv(289, 43%, 93%)
CMYKcmyk(8%, 43.3%, 0%, 6.7%)
CIE-LABlab(68.43, 48.40, -38.95)
CIE-LCHlch(68.43, 62.13, 321.18°)
OKLaboklab(74.77% 0.1281 -0.1073)
OKLCHoklch(74.77% 0.167 320)
XYZxyz(53.3081, 38.5629, 85.5077)
Luminance0.3856 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB87EE #9AEE87
analogous
#A787EE #DB87EE #EE87CD
triadic
#DB87EE #EEDB87 #87EEDB
tetradic
#DB87EE #EEA787 #9AEE87 #87CDEE
square
#DB87EE #EEA787 #9AEE87 #87CDEE
split-complementary
#DB87EE #CDEE87 #87EEA7
monochromatic
#B91FDC #CB51E6 #DB87EE #EBBDF6 #F7E4FB

Accessibility & contrast

On white

2.41
#DB87EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.71
#DB87EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB87EE
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB87EE#FFFFFF#000000##000000
##DB87EE1.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A1F2
Deuteranopia (green-blind)
#8FAAEB
Tritanopia (blue-blind)
#DC94AF
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #db87ee;
/* rgb */ color: rgb(219, 135, 238);
/* oklch */ color: oklch(74.8% 0.167 320.0);
Tailwind
colors: {
  custom: {
    50: '#e8acf4',
    500: '#db87ee',
    950: '#000000',
  },
}
SCSS
$custom: #db87ee;
$custom-light: #e8acf4;
$custom-dark: #000000;
JSON
{
  "hex": "#db87ee",
  "rgb": {
    "r": 219,
    "g": 135,
    "b": 238
  },
  "hsl": {
    "h": 288.932,
    "s": 75.182,
    "l": 73.137
  },
  "oklch": {
    "l": 0.74766,
    "c": 0.16708,
    "h": 320
  },
  "luminance": 0.38561
}

Semantic roles & 50–950 ramp

primary
#DB87EE
secondary
#DDF3D8
accent
#D70E33
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #DB87EE

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

Preview Lab → · Contrast checker → · Palette generator →

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