#DB87E2#DB87E2

#DB87E2 is a light, vivid purple. Relative luminance 0.379; OKLCH L 74.2% C 0.155 H 324.2°. Best body text is #000000 at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#DB87E2
RGBrgb(219, 135, 226)
HSLhsl(295, 61%, 71%)
HSVhsv(295, 40%, 89%)
CMYKcmyk(3.1%, 40.3%, 0%, 11.4%)
CIE-LABlab(67.93, 46.12, -33.11)
CIE-LCHlch(67.93, 56.77, 324.32°)
OKLaboklab(74.23% 0.1258 -0.0906)
OKLCHoklch(74.23% 0.155 324.2)
XYZxyz(51.6035, 37.8811, 76.5303)
Luminance0.3788 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB87E2 #8EE287
analogous
#AD87E2 #DB87E2 #E287BB
triadic
#DB87E2 #E2DB87 #87E2DB
tetradic
#DB87E2 #E2AD87 #8EE287 #87BBE2
square
#DB87E2 #E2AD87 #8EE287 #87BBE2
split-complementary
#DB87E2 #BBE287 #87E2AD
monochromatic
#B52EC0 #CC56D6 #DB87E2 #EAB8EE #F8E6F9

Accessibility & contrast

On white

2.45
#DB87E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.58
#DB87E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB87E2
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB87E2#FFFFFF#000000##000000
##DB87E21.002.458.588.58
#FFFFFF2.451.0021.0021.00
#0000008.5821.001.001.00
##0000008.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E9FE5
Deuteranopia (green-blind)
#94A9DF
Tritanopia (blue-blind)
#DF91AA
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #db87e2;
/* rgb */ color: rgb(219, 135, 226);
/* oklch */ color: oklch(74.2% 0.155 324.2);
Tailwind
colors: {
  custom: {
    50: '#e8aceb',
    500: '#db87e2',
    950: '#000000',
  },
}
SCSS
$custom: #db87e2;
$custom-light: #e8aceb;
$custom-dark: #000000;
JSON
{
  "hex": "#db87e2",
  "rgb": {
    "r": 219,
    "g": 135,
    "b": 226
  },
  "hsl": {
    "h": 295.385,
    "s": 61.074,
    "l": 70.784
  },
  "oklch": {
    "l": 0.74227,
    "c": 0.15501,
    "h": 324.2
  },
  "luminance": 0.37879
}

Semantic roles & 50–950 ramp

primary
#DB87E2
secondary
#D8EFD6
accent
#C91D2A
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161016
muted
#847F84

Preview Lab

Preview with #DB87E2

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

Preview Lab → · Contrast checker → · Palette generator →

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