#DB87FD#DB87FD

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

Color values

HEX#DB87FD
RGBrgb(219, 135, 253)
HSLhsl(283, 97%, 76%)
HSVhsv(283, 47%, 99%)
CMYKcmyk(13.4%, 46.6%, 0%, 0.8%)
CIE-LABlab(69.10, 51.37, -46.12)
CIE-LCHlch(69.10, 69.04, 318.09°)
OKLaboklab(75.48% 0.1304 -0.128)
OKLCHoklch(75.48% 0.183 315.5)
XYZxyz(55.6043, 39.4814, 97.6010)
Luminance0.3948 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB87FD #A9FD87
analogous
#A087FD #DB87FD #FD87E4
triadic
#DB87FD #FDDB87 #87FDDB
tetradic
#DB87FD #FDA087 #A9FD87 #87E4FD
square
#DB87FD #FDA087 #A9FD87 #87E4FD
split-complementary
#DB87FD #E4FD87 #87FDA0
monochromatic
#B70FFB #C94BFC #DB87FD #EDC3FE #F6E1FE

Accessibility & contrast

On white

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

On black

8.90
#DB87FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB87FD
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB87FD#FFFFFF#000000##000000
##DB87FD1.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A4FF
Deuteranopia (green-blind)
#88ABFA
Tritanopia (blue-blind)
#D998B6
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #db87fd;
/* rgb */ color: rgb(219, 135, 253);
/* oklch */ color: oklch(75.5% 0.183 315.5);
Tailwind
colors: {
  custom: {
    50: '#e8acfe',
    500: '#db87fd',
    950: '#000000',
  },
}
SCSS
$custom: #db87fd;
$custom-light: #e8acfe;
$custom-dark: #000000;
JSON
{
  "hex": "#db87fd",
  "rgb": {
    "r": 219,
    "g": 135,
    "b": 253
  },
  "hsl": {
    "h": 282.712,
    "s": 96.721,
    "l": 76.078
  },
  "oklch": {
    "l": 0.75479,
    "c": 0.18272,
    "h": 315.5
  },
  "luminance": 0.3948
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DB87FD

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

Preview Lab → · Contrast checker → · Palette generator →

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