#D787CA#D787CA

#D787CA is a light, vivid purple. Relative luminance 0.360; OKLCH L 72.8% C 0.130 H 332.9°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#D787CA
RGBrgb(215, 135, 202)
HSLhsl(310, 50%, 69%)
HSVhsv(310, 37%, 84%)
CMYKcmyk(0%, 37.2%, 6%, 15.7%)
CIE-LABlab(66.55, 40.54, -21.94)
CIE-LCHlch(66.55, 46.09, 331.58°)
OKLaboklab(72.78% 0.1155 -0.0591)
OKLCHoklch(72.78% 0.13 332.9)
XYZxyz(47.3485, 36.0416, 60.3284)
Luminance0.3604 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D787CA #87D794
analogous
#BC87D7 #D787CA #D787A2
triadic
#D787CA #CAD787 #87CAD7
tetradic
#D787CA #D7BC87 #87D794 #87A2D7
square
#D787CA #D7BC87 #87D794 #87A2D7
split-complementary
#D787CA #A2D787 #87D7BC
monochromatic
#AB3998 #C859B6 #D787CA #E6B5DE #F6E3F3

Accessibility & contrast

On white

2.56
#D787CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.21
#D787CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D787CA
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D787CA#FFFFFF#000000##000000
##D787CA1.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#869BCC
Deuteranopia (green-blind)
#9AA6C8
Tritanopia (blue-blind)
#DE8BA0
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #d787ca;
/* rgb */ color: rgb(215, 135, 202);
/* oklch */ color: oklch(72.8% 0.130 332.9);
Tailwind
colors: {
  custom: {
    50: '#e4abda',
    500: '#d787ca',
    950: '#000000',
  },
}
SCSS
$custom: #d787ca;
$custom-light: #e4abda;
$custom-dark: #000000;
JSON
{
  "hex": "#d787ca",
  "rgb": {
    "r": 215,
    "g": 135,
    "b": 202
  },
  "hsl": {
    "h": 309.75,
    "s": 50,
    "l": 68.627
  },
  "oklch": {
    "l": 0.72784,
    "c": 0.12976,
    "h": 332.9
  },
  "luminance": 0.36039
}

Semantic roles & 50–950 ramp

primary
#D787CA
secondary
#D1E9D5
accent
#BD4028
background
#FEFAFD
surface
#FCF4FA
border
#D5CED3
text
#161014
muted
#847F83

Preview Lab

Preview with #D787CA

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

Preview Lab → · Contrast checker → · Palette generator →

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