#DB87F0#DB87F0

#DB87F0 is a light, vivid purple. Relative luminance 0.387; OKLCH L 74.9% C 0.169 H 319.4°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#DB87F0
RGBrgb(219, 135, 240)
HSLhsl(288, 78%, 74%)
HSVhsv(288, 44%, 94%)
CMYKcmyk(8.8%, 43.8%, 0%, 5.9%)
CIE-LABlab(68.52, 48.79, -39.91)
CIE-LCHlch(68.52, 63.03, 320.72°)
OKLaboklab(74.86% 0.1284 -0.1101)
OKLCHoklch(74.86% 0.169 319.4)
XYZxyz(53.6035, 38.6811, 87.0637)
Luminance0.3868 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB87F0 #9CF087
analogous
#A687F0 #DB87F0 #F087D0
triadic
#DB87F0 #F0DB87 #87F0DB
tetradic
#DB87F0 #F0A687 #9CF087 #87D0F0
square
#DB87F0 #F0A687 #9CF087 #87D0F0
split-complementary
#DB87F0 #D0F087 #87F0A6
monochromatic
#B91CE1 #CB51E9 #DB87F0 #EBBDF7 #F7E4FC

Accessibility & contrast

On white

2.40
#DB87F0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.74
#DB87F0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB87F0
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB87F0#FFFFFF#000000##000000
##DB87F01.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A1F4
Deuteranopia (green-blind)
#8EAAED
Tritanopia (blue-blind)
#DC95B0
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #db87f0;
/* rgb */ color: rgb(219, 135, 240);
/* oklch */ color: oklch(74.9% 0.169 319.4);
Tailwind
colors: {
  custom: {
    50: '#e8acf5',
    500: '#db87f0',
    950: '#000000',
  },
}
SCSS
$custom: #db87f0;
$custom-light: #e8acf5;
$custom-dark: #000000;
JSON
{
  "hex": "#db87f0",
  "rgb": {
    "r": 219,
    "g": 135,
    "b": 240
  },
  "hsl": {
    "h": 288,
    "s": 77.778,
    "l": 73.529
  },
  "oklch": {
    "l": 0.74858,
    "c": 0.16914,
    "h": 319.4
  },
  "luminance": 0.38679
}

Semantic roles & 50–950 ramp

primary
#DB87F0
secondary
#DDF3D8
accent
#DA0B35
background
#FEFAFF
surface
#FDF4FE
border
#D5CED6
text
#161017
muted
#847F85

Preview Lab

Preview with #DB87F0

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

Preview Lab → · Contrast checker → · Palette generator →

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