#DB87DC#DB87DC

#DB87DC is a light, vivid purple. Relative luminance 0.376; OKLCH L 74.0% C 0.149 H 326.5°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#DB87DC
RGBrgb(219, 135, 220)
HSLhsl(299, 55%, 70%)
HSVhsv(299, 39%, 86%)
CMYKcmyk(0.5%, 38.6%, 0%, 13.7%)
CIE-LABlab(67.69, 45.01, -30.16)
CIE-LCHlch(67.69, 54.18, 326.17°)
OKLaboklab(73.97% 0.1245 -0.0822)
OKLCHoklch(73.97% 0.149 326.5)
XYZxyz(50.7946, 37.5575, 72.2700)
Luminance0.3755 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB87DC #88DC87
analogous
#B187DC #DB87DC #DC87B3
triadic
#DB87DC #DCDB87 #87DCDB
tetradic
#DB87DC #DCB187 #88DC87 #87B3DC
square
#DB87DC #DCB187 #88DC87 #87B3DC
split-complementary
#DB87DC #B3DC87 #87DCB1
monochromatic
#B335B4 #CD58CE #DB87DC #E9B6EA #F7E6F8

Accessibility & contrast

On white

2.47
#DB87DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.51
#DB87DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB87DC
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB87DC#FFFFFF#000000##000000
##DB87DC1.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#809EDF
Deuteranopia (green-blind)
#96A9D9
Tritanopia (blue-blind)
#E08FA7
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #db87dc;
/* rgb */ color: rgb(219, 135, 220);
/* oklch */ color: oklch(74.0% 0.149 326.5);
Tailwind
colors: {
  custom: {
    50: '#e7ace7',
    500: '#db87dc',
    950: '#000000',
  },
}
SCSS
$custom: #db87dc;
$custom-light: #e7ace7;
$custom-dark: #000000;
JSON
{
  "hex": "#db87dc",
  "rgb": {
    "r": 219,
    "g": 135,
    "b": 220
  },
  "hsl": {
    "h": 299.294,
    "s": 54.839,
    "l": 69.608
  },
  "oklch": {
    "l": 0.73968,
    "c": 0.14917,
    "h": 326.5
  },
  "luminance": 0.37555
}

Semantic roles & 50–950 ramp

primary
#DB87DC
secondary
#D4ECD3
accent
#C22325
background
#FEFAFE
surface
#FDF4FC
border
#D5CED5
text
#161016
muted
#847F84

Preview Lab

Preview with #DB87DC

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

Preview Lab → · Contrast checker → · Palette generator →

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