#DB87FE#DB87FE

#DB87FE is a light, vivid purple. Relative luminance 0.395; OKLCH L 75.5% C 0.184 H 315.3°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#DB87FE
RGBrgb(219, 135, 254)
HSLhsl(282, 98%, 76%)
HSVhsv(282, 47%, 100%)
CMYKcmyk(13.8%, 46.9%, 0%, 0.4%)
CIE-LABlab(69.14, 51.57, -46.59)
CIE-LCHlch(69.14, 69.50, 317.91°)
OKLaboklab(75.53% 0.1306 -0.1293)
OKLCHoklch(75.53% 0.184 315.3)
XYZxyz(55.7640, 39.5453, 98.4422)
Luminance0.3954 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB87FE #AAFE87
analogous
#A087FE #DB87FE #FE87E6
triadic
#DB87FE #FEDB87 #87FEDB
tetradic
#DB87FE #FEA087 #AAFE87 #87E6FE
square
#DB87FE #FEA087 #AAFE87 #87E6FE
split-complementary
#DB87FE #E6FE87 #87FEA0
monochromatic
#B70EFD #C94AFD #DB87FE #EDC4FF #F6E1FF

Accessibility & contrast

On white

2.36
#DB87FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.91
#DB87FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB87FE
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB87FE#FFFFFF#000000##000000
##DB87FE1.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA4FF
Deuteranopia (green-blind)
#87ABFB
Tritanopia (blue-blind)
#D998B7
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #db87fe;
/* rgb */ color: rgb(219, 135, 254);
/* oklch */ color: oklch(75.5% 0.184 315.3);
Tailwind
colors: {
  custom: {
    50: '#e8acff',
    500: '#db87fe',
    950: '#000000',
  },
}
SCSS
$custom: #db87fe;
$custom-light: #e8acff;
$custom-dark: #000000;
JSON
{
  "hex": "#db87fe",
  "rgb": {
    "r": 219,
    "g": 135,
    "b": 254
  },
  "hsl": {
    "h": 282.353,
    "s": 98.347,
    "l": 76.275
  },
  "oklch": {
    "l": 0.75528,
    "c": 0.18379,
    "h": 315.3
  },
  "luminance": 0.39544
}

Semantic roles & 50–950 ramp

primary
#DB87FE
secondary
#DEF7D4
accent
#E60043
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161018
muted
#847F86

Preview Lab

Preview with #DB87FE

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

Preview Lab → · Contrast checker → · Palette generator →

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