#DB87CB#DB87CB

#DB87CB is a light, vivid pink. Relative luminance 0.367; OKLCH L 73.3% C 0.134 H 334.1°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#DB87CB
RGBrgb(219, 135, 203)
HSLhsl(311, 54%, 69%)
HSVhsv(311, 38%, 86%)
CMYKcmyk(0%, 38.4%, 7.3%, 14.1%)
CIE-LABlab(67.05, 41.99, -21.69)
CIE-LCHlch(67.05, 47.26, 332.68°)
OKLaboklab(73.28% 0.1203 -0.0584)
OKLCHoklch(73.28% 0.134 334.1)
XYZxyz(48.6566, 36.7023, 61.0097)
Luminance0.3670 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB87CB #87DB97
analogous
#C187DB #DB87CB #DB87A1
triadic
#DB87CB #CBDB87 #87CBDB
tetradic
#DB87CB #DBC187 #87DB97 #87A1DB
square
#DB87CB #DBC187 #87DB97 #87A1DB
split-complementary
#DB87CB #A1DB87 #87DBC1
monochromatic
#B2359A #CD58B7 #DB87CB #E9B6DF #F7E5F4

Accessibility & contrast

On white

2.52
#DB87CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#DB87CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB87CB
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB87CB#FFFFFF#000000##000000
##DB87CB1.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#879CCE
Deuteranopia (green-blind)
#9CA8C8
Tritanopia (blue-blind)
#E28BA0
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #db87cb;
/* rgb */ color: rgb(219, 135, 203);
/* oklch */ color: oklch(73.3% 0.134 334.1);
Tailwind
colors: {
  custom: {
    50: '#e7abdb',
    500: '#db87cb',
    950: '#000000',
  },
}
SCSS
$custom: #db87cb;
$custom-light: #e7abdb;
$custom-dark: #000000;
JSON
{
  "hex": "#db87cb",
  "rgb": {
    "r": 219,
    "g": 135,
    "b": 203
  },
  "hsl": {
    "h": 311.429,
    "s": 53.846,
    "l": 69.412
  },
  "oklch": {
    "l": 0.73275,
    "c": 0.1337,
    "h": 334.1
  },
  "luminance": 0.367
}

Semantic roles & 50–950 ramp

primary
#DB87CB
secondary
#D3EBD7
accent
#C14224
background
#FEFAFD
surface
#FDF4FA
border
#D5CED3
text
#161015
muted
#847F83

Preview Lab

Preview with #DB87CB

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

Preview Lab → · Contrast checker → · Palette generator →

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