#DB87F9#DB87F9

#DB87F9 is a light, vivid purple. Relative luminance 0.392; OKLCH L 75.3% C 0.179 H 316.7°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#DB87F9
RGBrgb(219, 135, 249)
HSLhsl(284, 90%, 75%)
HSVhsv(284, 46%, 98%)
CMYKcmyk(12%, 45.8%, 0%, 2.4%)
CIE-LABlab(68.92, 50.57, -44.22)
CIE-LCHlch(68.92, 67.17, 318.83°)
OKLaboklab(75.29% 0.1299 -0.1225)
OKLCHoklch(75.29% 0.179 316.7)
XYZxyz(54.9738, 39.2292, 94.2803)
Luminance0.3923 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB87F9 #A5F987
analogous
#A287F9 #DB87F9 #F987DE
triadic
#DB87F9 #F9DB87 #87F9DB
tetradic
#DB87F9 #F9A287 #A5F987 #87DEF9
square
#DB87F9 #F9A287 #A5F987 #87DEF9
split-complementary
#DB87F9 #DEF987 #87F9A2
monochromatic
#B812F3 #CA4DF6 #DB87F9 #ECC1FC #F6E2FE

Accessibility & contrast

On white

2.37
#DB87F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.85
#DB87F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB87F9
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB87F9#FFFFFF#000000##000000
##DB87F91.002.378.858.85
#FFFFFF2.371.0021.0021.00
#0000008.8521.001.001.00
##0000008.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A3FD
Deuteranopia (green-blind)
#8AABF6
Tritanopia (blue-blind)
#DA97B4
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #db87f9;
/* rgb */ color: rgb(219, 135, 249);
/* oklch */ color: oklch(75.3% 0.179 316.7);
Tailwind
colors: {
  custom: {
    50: '#e8acfb',
    500: '#db87f9',
    950: '#000000',
  },
}
SCSS
$custom: #db87f9;
$custom-light: #e8acfb;
$custom-dark: #000000;
JSON
{
  "hex": "#db87f9",
  "rgb": {
    "r": 219,
    "g": 135,
    "b": 249
  },
  "hsl": {
    "h": 284.211,
    "s": 90.476,
    "l": 75.294
  },
  "oklch": {
    "l": 0.75285,
    "c": 0.17851,
    "h": 316.7
  },
  "luminance": 0.39228
}

Semantic roles & 50–950 ramp

primary
#DB87F9
secondary
#DEF6D5
accent
#E6003C
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #DB87F9

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

Preview Lab → · Contrast checker → · Palette generator →

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