#DB87CE#DB87CE

#DB87CE is a light, vivid purple. Relative luminance 0.368; OKLCH L 73.4% C 0.136 H 332.7°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#DB87CE
RGBrgb(219, 135, 206)
HSLhsl(309, 54%, 69%)
HSVhsv(309, 38%, 86%)
CMYKcmyk(0%, 38.4%, 5.9%, 14.1%)
CIE-LABlab(67.16, 42.51, -23.20)
CIE-LCHlch(67.16, 48.43, 331.38°)
OKLaboklab(73.39% 0.1211 -0.0626)
OKLCHoklch(73.39% 0.136 332.7)
XYZxyz(49.0175, 36.8467, 62.9108)
Luminance0.3684 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB87CE #87DB94
analogous
#BE87DB #DB87CE #DB87A4
triadic
#DB87CE #CEDB87 #87CEDB
tetradic
#DB87CE #DBBE87 #87DB94 #87A4DB
square
#DB87CE #DBBE87 #87DB94 #87A4DB
split-complementary
#DB87CE #A4DB87 #87DBBE
monochromatic
#B2359F #CD58BB #DB87CE #E9B6E1 #F7E5F4

Accessibility & contrast

On white

2.51
#DB87CE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#DB87CE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB87CE
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB87CE#FFFFFF#000000##000000
##DB87CE1.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#859CD1
Deuteranopia (green-blind)
#9BA8CB
Tritanopia (blue-blind)
#E28CA1
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #db87ce;
/* rgb */ color: rgb(219, 135, 206);
/* oklch */ color: oklch(73.4% 0.136 332.7);
Tailwind
colors: {
  custom: {
    50: '#e7abdd',
    500: '#db87ce',
    950: '#000000',
  },
}
SCSS
$custom: #db87ce;
$custom-light: #e7abdd;
$custom-dark: #000000;
JSON
{
  "hex": "#db87ce",
  "rgb": {
    "r": 219,
    "g": 135,
    "b": 206
  },
  "hsl": {
    "h": 309.286,
    "s": 53.846,
    "l": 69.412
  },
  "oklch": {
    "l": 0.73393,
    "c": 0.1363,
    "h": 332.7
  },
  "luminance": 0.36844
}

Semantic roles & 50–950 ramp

primary
#DB87CE
secondary
#D3EBD7
accent
#C13D24
background
#FEFAFD
surface
#FDF4FB
border
#D5CED4
text
#161015
muted
#847F83

Preview Lab

Preview with #DB87CE

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

Preview Lab → · Contrast checker → · Palette generator →

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