#DB87D2#DB87D2

#DB87D2 is a light, vivid purple. Relative luminance 0.370; OKLCH L 73.6% C 0.140 H 330.8°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#DB87D2
RGBrgb(219, 135, 210)
HSLhsl(306, 54%, 69%)
HSVhsv(306, 38%, 86%)
CMYKcmyk(0%, 38.4%, 4.1%, 14.1%)
CIE-LABlab(67.31, 43.21, -25.20)
CIE-LCHlch(67.31, 50.02, 329.75°)
OKLaboklab(73.55% 0.1221 -0.0682)
OKLCHoklch(73.55% 0.14 330.8)
XYZxyz(49.5096, 37.0436, 65.5025)
Luminance0.3704 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB87D2 #87DB90
analogous
#BA87DB #DB87D2 #DB87A8
triadic
#DB87D2 #D2DB87 #87D2DB
tetradic
#DB87D2 #DBBA87 #87DB90 #87A8DB
square
#DB87D2 #DBBA87 #87DB90 #87A8DB
split-complementary
#DB87D2 #A8DB87 #87DBBA
monochromatic
#B235A5 #CD58C0 #DB87D2 #E9B6E4 #F7E5F5

Accessibility & contrast

On white

2.50
#DB87D2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.41
#DB87D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB87D2
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB87D2#FFFFFF#000000##000000
##DB87D21.002.508.418.41
#FFFFFF2.501.0021.0021.00
#0000008.4121.001.001.00
##0000008.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#849DD5
Deuteranopia (green-blind)
#9AA8CF
Tritanopia (blue-blind)
#E18DA3
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #db87d2;
/* rgb */ color: rgb(219, 135, 210);
/* oklch */ color: oklch(73.6% 0.140 330.8);
Tailwind
colors: {
  custom: {
    50: '#e7abe0',
    500: '#db87d2',
    950: '#000000',
  },
}
SCSS
$custom: #db87d2;
$custom-light: #e7abe0;
$custom-dark: #000000;
JSON
{
  "hex": "#db87d2",
  "rgb": {
    "r": 219,
    "g": 135,
    "b": 210
  },
  "hsl": {
    "h": 306.429,
    "s": 53.846,
    "l": 69.412
  },
  "oklch": {
    "l": 0.73553,
    "c": 0.13986,
    "h": 330.8
  },
  "luminance": 0.37041
}

Semantic roles & 50–950 ramp

primary
#DB87D2
secondary
#D3EBD5
accent
#C13524
background
#FEFAFD
surface
#FDF4FB
border
#D5CED4
text
#161015
muted
#847F83

Preview Lab

Preview with #DB87D2

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

Preview Lab → · Contrast checker → · Palette generator →

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