#DB87F7#DB87F7

#DB87F7 is a light, vivid purple. Relative luminance 0.391; OKLCH L 75.2% C 0.176 H 317.3°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#DB87F7
RGBrgb(219, 135, 247)
HSLhsl(285, 88%, 75%)
HSVhsv(285, 45%, 97%)
CMYKcmyk(11.3%, 45.3%, 0%, 3.1%)
CIE-LABlab(68.83, 50.17, -43.26)
CIE-LCHlch(68.83, 66.25, 319.23°)
OKLaboklab(75.19% 0.1296 -0.1197)
OKLCHoklch(75.19% 0.176 317.3)
XYZxyz(54.6635, 39.1051, 92.6462)
Luminance0.3910 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB87F7 #A3F787
analogous
#A387F7 #DB87F7 #F787DB
triadic
#DB87F7 #F7DB87 #87F7DB
tetradic
#DB87F7 #F7A387 #A3F787 #87DBF7
square
#DB87F7 #F7A387 #A3F787 #87DBF7
split-complementary
#DB87F7 #DBF787 #87F7A3
monochromatic
#B914EF #CA4EF3 #DB87F7 #ECC0FB #F6E2FD

Accessibility & contrast

On white

2.38
#DB87F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.82
#DB87F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB87F7
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB87F7#FFFFFF#000000##000000
##DB87F71.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A3FB
Deuteranopia (green-blind)
#8BABF4
Tritanopia (blue-blind)
#DA97B3
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #db87f7;
/* rgb */ color: rgb(219, 135, 247);
/* oklch */ color: oklch(75.2% 0.176 317.3);
Tailwind
colors: {
  custom: {
    50: '#e8acfa',
    500: '#db87f7',
    950: '#000000',
  },
}
SCSS
$custom: #db87f7;
$custom-light: #e8acfa;
$custom-dark: #000000;
JSON
{
  "hex": "#db87f7",
  "rgb": {
    "r": 219,
    "g": 135,
    "b": 247
  },
  "hsl": {
    "h": 285,
    "s": 87.5,
    "l": 74.902
  },
  "oklch": {
    "l": 0.75188,
    "c": 0.17641,
    "h": 317.3
  },
  "luminance": 0.39103
}

Semantic roles & 50–950 ramp

primary
#DB87F7
secondary
#DEF5D6
accent
#E4013A
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #DB87F7

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

Preview Lab → · Contrast checker → · Palette generator →

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