#D787CE#D787CE

#D787CE is a light, vivid purple. Relative luminance 0.362; OKLCH L 72.9% C 0.133 H 330.9°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#D787CE
RGBrgb(215, 135, 206)
HSLhsl(307, 50%, 69%)
HSVhsv(307, 37%, 84%)
CMYKcmyk(0%, 37.2%, 4.2%, 15.7%)
CIE-LABlab(66.70, 41.24, -23.95)
CIE-LCHlch(66.70, 47.69, 329.86°)
OKLaboklab(72.94% 0.1166 -0.0648)
OKLCHoklch(72.94% 0.133 330.9)
XYZxyz(47.8283, 36.2335, 62.8550)
Luminance0.3623 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D787CE #87D790
analogous
#B887D7 #D787CE #D787A6
triadic
#D787CE #CED787 #87CED7
tetradic
#D787CE #D7B887 #87D790 #87A6D7
square
#D787CE #D7B887 #87D790 #87A6D7
split-complementary
#D787CE #A6D787 #87D7B8
monochromatic
#AB399E #C859BB #D787CE #E6B5E1 #F6E3F3

Accessibility & contrast

On white

2.55
#D787CE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.25
#D787CE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D787CE
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D787CE#FFFFFF#000000##000000
##D787CE1.002.558.258.25
#FFFFFF2.551.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#849BD1
Deuteranopia (green-blind)
#99A6CB
Tritanopia (blue-blind)
#DD8CA1
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #d787ce;
/* rgb */ color: rgb(215, 135, 206);
/* oklch */ color: oklch(72.9% 0.133 330.9);
Tailwind
colors: {
  custom: {
    50: '#e4abdd',
    500: '#d787ce',
    950: '#000000',
  },
}
SCSS
$custom: #d787ce;
$custom-light: #e4abdd;
$custom-dark: #000000;
JSON
{
  "hex": "#d787ce",
  "rgb": {
    "r": 215,
    "g": 135,
    "b": 206
  },
  "hsl": {
    "h": 306.75,
    "s": 50,
    "l": 68.627
  },
  "oklch": {
    "l": 0.72942,
    "c": 0.13334,
    "h": 330.9
  },
  "luminance": 0.36231
}

Semantic roles & 50–950 ramp

primary
#D787CE
secondary
#D1E9D4
accent
#BD3928
background
#FEFAFD
surface
#FCF4FB
border
#D5CED4
text
#161015
muted
#847F83

Preview Lab

Preview with #D787CE

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

Preview Lab → · Contrast checker → · Palette generator →

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