#D786CD#D786CD

#D786CD is a light, vivid purple. Relative luminance 0.359; OKLCH L 72.7% C 0.134 H 331.4°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#D786CD
RGBrgb(215, 134, 205)
HSLhsl(307, 50%, 68%)
HSVhsv(307, 38%, 84%)
CMYKcmyk(0%, 37.7%, 4.7%, 15.7%)
CIE-LABlab(66.45, 41.59, -23.77)
CIE-LCHlch(66.45, 47.90, 330.25°)
OKLaboklab(72.74% 0.1178 -0.0643)
OKLCHoklch(72.74% 0.134 331.4)
XYZxyz(47.5683, 35.9073, 62.1710)
Luminance0.3590 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D786CD #86D790
analogous
#B886D7 #D786CD #D786A4
triadic
#D786CD #CDD786 #86CDD7
tetradic
#D786CD #D7B886 #86D790 #86A4D7
square
#D786CD #D7B886 #86D790 #86A4D7
split-complementary
#D786CD #A4D786 #86D7B8
monochromatic
#AA389C #C858BA #D786CD #E6B4E0 #F5E2F3

Accessibility & contrast

On white

2.57
#D786CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#D786CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D786CD
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D786CD#FFFFFF#000000##000000
##D786CD1.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#849BD0
Deuteranopia (green-blind)
#98A6CA
Tritanopia (blue-blind)
#DD8BA0
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #d786cd;
/* rgb */ color: rgb(215, 134, 205);
/* oklch */ color: oklch(72.7% 0.134 331.4);
Tailwind
colors: {
  custom: {
    50: '#e4abdc',
    500: '#d786cd',
    950: '#000000',
  },
}
SCSS
$custom: #d786cd;
$custom-light: #e4abdc;
$custom-dark: #000000;
JSON
{
  "hex": "#d786cd",
  "rgb": {
    "r": 215,
    "g": 134,
    "b": 205
  },
  "hsl": {
    "h": 307.407,
    "s": 50.311,
    "l": 68.431
  },
  "oklch": {
    "l": 0.72742,
    "c": 0.13418,
    "h": 331.4
  },
  "luminance": 0.35905
}

Semantic roles & 50–950 ramp

primary
#D786CD
secondary
#D0E9D3
accent
#BE3A28
background
#FEFAFD
surface
#FCF4FB
border
#D5CED4
text
#161015
muted
#847F83

Preview Lab

Preview with #D786CD

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

Preview Lab → · Contrast checker → · Palette generator →

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