#DB87FF#DB87FF

#DB87FF is a light, vivid purple. Relative luminance 0.396; OKLCH L 75.6% C 0.185 H 315.0°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#DB87FF
RGBrgb(219, 135, 255)
HSLhsl(282, 100%, 76%)
HSVhsv(282, 47%, 100%)
CMYKcmyk(14.1%, 47.1%, 0%, 0%)
CIE-LABlab(69.19, 51.78, -47.06)
CIE-LCHlch(69.19, 69.97, 317.73°)
OKLaboklab(75.58% 0.1307 -0.1307)
OKLCHoklch(75.58% 0.185 315)
XYZxyz(55.9246, 39.6095, 99.2878)
Luminance0.3961 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB87FF #ABFF87
analogous
#9F87FF #DB87FF #FF87E7
triadic
#DB87FF #FFDB87 #87FFDB
tetradic
#DB87FF #FF9F87 #ABFF87 #87E7FF
square
#DB87FF #FF9F87 #ABFF87 #87E7FF
split-complementary
#DB87FF #E7FF87 #87FF9F
monochromatic
#B60DFF #C94AFF #DB87FF #EDC4FF #F6E0FF

Accessibility & contrast

On white

2.35
#DB87FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.92
#DB87FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB87FF
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB87FF#FFFFFF#000000##000000
##DB87FF1.002.358.928.92
#FFFFFF2.351.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #db87ff;
/* rgb */ color: rgb(219, 135, 255);
/* oklch */ color: oklch(75.6% 0.185 315.0);
Tailwind
colors: {
  custom: {
    50: '#e8acff',
    500: '#db87ff',
    950: '#000000',
  },
}
SCSS
$custom: #db87ff;
$custom-light: #e8acff;
$custom-dark: #000000;
JSON
{
  "hex": "#db87ff",
  "rgb": {
    "r": 219,
    "g": 135,
    "b": 255
  },
  "hsl": {
    "h": 282,
    "s": 100,
    "l": 76.471
  },
  "oklch": {
    "l": 0.75578,
    "c": 0.18484,
    "h": 315
  },
  "luminance": 0.39608
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DB87FF

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

Preview Lab → · Contrast checker → · Palette generator →

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