#DB87FB#DB87FB

#DB87FB is a light, vivid purple. Relative luminance 0.394; OKLCH L 75.4% C 0.181 H 316.1°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#DB87FB
RGBrgb(219, 135, 251)
HSLhsl(283, 94%, 76%)
HSVhsv(283, 46%, 98%)
CMYKcmyk(12.7%, 46.2%, 0%, 1.6%)
CIE-LABlab(69.01, 50.97, -45.17)
CIE-LCHlch(69.01, 68.10, 318.45°)
OKLaboklab(75.38% 0.1301 -0.1252)
OKLCHoklch(75.38% 0.181 316.1)
XYZxyz(55.2874, 39.3546, 95.9319)
Luminance0.3935 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB87FB #A7FB87
analogous
#A187FB #DB87FB #FB87E1
triadic
#DB87FB #FBDB87 #87FBDB
tetradic
#DB87FB #FBA187 #A7FB87 #87E1FB
square
#DB87FB #FBA187 #A7FB87 #87E1FB
split-complementary
#DB87FB #E1FB87 #87FBA1
monochromatic
#B711F7 #C94CF9 #DB87FB #EDC2FD #F6E1FE

Accessibility & contrast

On white

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

On black

8.87
#DB87FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB87FB
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB87FB#FFFFFF#000000##000000
##DB87FB1.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A3FF
Deuteranopia (green-blind)
#89ABF8
Tritanopia (blue-blind)
#DA98B5
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #db87fb;
/* rgb */ color: rgb(219, 135, 251);
/* oklch */ color: oklch(75.4% 0.181 316.1);
Tailwind
colors: {
  custom: {
    50: '#e8acfd',
    500: '#db87fb',
    950: '#000000',
  },
}
SCSS
$custom: #db87fb;
$custom-light: #e8acfd;
$custom-dark: #000000;
JSON
{
  "hex": "#db87fb",
  "rgb": {
    "r": 219,
    "g": 135,
    "b": 251
  },
  "hsl": {
    "h": 283.448,
    "s": 93.548,
    "l": 75.686
  },
  "oklch": {
    "l": 0.75381,
    "c": 0.18061,
    "h": 316.1
  },
  "luminance": 0.39353
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DB87FB

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

Preview Lab → · Contrast checker → · Palette generator →

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