#DB87F4#DB87F4

#DB87F4 is a light, vivid purple. Relative luminance 0.389; OKLCH L 75.0% C 0.173 H 318.1°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#DB87F4
RGBrgb(219, 135, 244)
HSLhsl(286, 83%, 74%)
HSVhsv(286, 45%, 96%)
CMYKcmyk(10.2%, 44.7%, 0%, 4.3%)
CIE-LABlab(68.69, 49.58, -41.83)
CIE-LCHlch(68.69, 64.87, 319.84°)
OKLaboklab(75.05% 0.1291 -0.1156)
OKLCHoklch(75.05% 0.173 318.1)
XYZxyz(54.2043, 38.9214, 90.2277)
Luminance0.3892 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB87F4 #A0F487
analogous
#A587F4 #DB87F4 #F487D6
triadic
#DB87F4 #F4DB87 #87F4DB
tetradic
#DB87F4 #F4A587 #A0F487 #87D6F4
square
#DB87F4 #F4A587 #A0F487 #87D6F4
split-complementary
#DB87F4 #D6F487 #87F4A5
monochromatic
#B917EA #CA4FEF #DB87F4 #ECBFF9 #F7E3FC

Accessibility & contrast

On white

2.39
#DB87F4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.78
#DB87F4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB87F4
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB87F4#FFFFFF#000000##000000
##DB87F41.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A2F8
Deuteranopia (green-blind)
#8CAAF1
Tritanopia (blue-blind)
#DB96B2
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #db87f4;
/* rgb */ color: rgb(219, 135, 244);
/* oklch */ color: oklch(75.0% 0.173 318.1);
Tailwind
colors: {
  custom: {
    50: '#e8acf8',
    500: '#db87f4',
    950: '#000000',
  },
}
SCSS
$custom: #db87f4;
$custom-light: #e8acf8;
$custom-dark: #000000;
JSON
{
  "hex": "#db87f4",
  "rgb": {
    "r": 219,
    "g": 135,
    "b": 244
  },
  "hsl": {
    "h": 286.239,
    "s": 83.206,
    "l": 74.314
  },
  "oklch": {
    "l": 0.75046,
    "c": 0.17328,
    "h": 318.1
  },
  "luminance": 0.3892
}

Semantic roles & 50–950 ramp

primary
#DB87F4
secondary
#DDF4D7
accent
#E00638
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #DB87F4

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

Preview Lab → · Contrast checker → · Palette generator →

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