#DB87C8#DB87C8

#DB87C8 is a light, vivid pink. Relative luminance 0.366; OKLCH L 73.2% C 0.131 H 335.6°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#DB87C8
RGBrgb(219, 135, 200)
HSLhsl(314, 54%, 69%)
HSVhsv(314, 38%, 86%)
CMYKcmyk(0%, 38.4%, 8.7%, 14.1%)
CIE-LABlab(66.95, 41.48, -20.18)
CIE-LCHlch(66.95, 46.13, 334.06°)
OKLaboklab(73.16% 0.1195 -0.0542)
OKLCHoklch(73.16% 0.131 335.6)
XYZxyz(48.3025, 36.5607, 59.1451)
Luminance0.3656 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB87C8 #87DB9A
analogous
#C487DB #DB87C8 #DB879E
triadic
#DB87C8 #C8DB87 #87C8DB
tetradic
#DB87C8 #DBC487 #87DB9A #879EDB
square
#DB87C8 #DBC487 #87DB9A #879EDB
split-complementary
#DB87C8 #9EDB87 #87DBC4
monochromatic
#B23596 #CD58B2 #DB87C8 #E9B6DE #F7E5F3

Accessibility & contrast

On white

2.53
#DB87C8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.31
#DB87C8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB87C8
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB87C8#FFFFFF#000000##000000
##DB87C81.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#889BCA
Deuteranopia (green-blind)
#9DA7C6
Tritanopia (blue-blind)
#E38A9F
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #db87c8;
/* rgb */ color: rgb(219, 135, 200);
/* oklch */ color: oklch(73.2% 0.131 335.6);
Tailwind
colors: {
  custom: {
    50: '#e7abd8',
    500: '#db87c8',
    950: '#000000',
  },
}
SCSS
$custom: #db87c8;
$custom-light: #e7abd8;
$custom-dark: #000000;
JSON
{
  "hex": "#db87c8",
  "rgb": {
    "r": 219,
    "g": 135,
    "b": 200
  },
  "hsl": {
    "h": 313.571,
    "s": 53.846,
    "l": 69.412
  },
  "oklch": {
    "l": 0.73159,
    "c": 0.13118,
    "h": 335.6
  },
  "luminance": 0.36558
}

Semantic roles & 50–950 ramp

primary
#DB87C8
secondary
#D3EBD8
accent
#C14824
background
#FEFAFD
surface
#FDF4FA
border
#D5CED3
text
#161014
muted
#847F83

Preview Lab

Preview with #DB87C8

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

Preview Lab → · Contrast checker → · Palette generator →

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