#D786CC#D786CC

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

Color values

HEX#D786CC
RGBrgb(215, 134, 204)
HSLhsl(308, 50%, 68%)
HSVhsv(308, 38%, 84%)
CMYKcmyk(0%, 37.7%, 5.1%, 15.7%)
CIE-LABlab(66.41, 41.41, -23.27)
CIE-LCHlch(66.41, 47.50, 330.67°)
OKLaboklab(72.7% 0.1175 -0.0628)
OKLCHoklch(72.7% 0.133 331.9)
XYZxyz(47.4480, 35.8592, 61.5373)
Luminance0.3586 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D786CC #86D791
analogous
#B986D7 #D786CC #D786A3
triadic
#D786CC #CCD786 #86CCD7
tetradic
#D786CC #D7B986 #86D791 #86A3D7
square
#D786CC #D7B986 #86D791 #86A3D7
split-complementary
#D786CC #A3D786 #86D7B9
monochromatic
#AA389B #C858B9 #D786CC #E6B4DF #F5E2F3

Accessibility & contrast

On white

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

On black

8.17
#D786CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D786CC
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D786CC#FFFFFF#000000##000000
##D786CC1.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#849ACF
Deuteranopia (green-blind)
#99A6C9
Tritanopia (blue-blind)
#DE8BA0
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #d786cc;
/* rgb */ color: rgb(215, 134, 204);
/* oklch */ color: oklch(72.7% 0.133 331.9);
Tailwind
colors: {
  custom: {
    50: '#e4abdb',
    500: '#d786cc',
    950: '#000000',
  },
}
SCSS
$custom: #d786cc;
$custom-light: #e4abdb;
$custom-dark: #000000;
JSON
{
  "hex": "#d786cc",
  "rgb": {
    "r": 215,
    "g": 134,
    "b": 204
  },
  "hsl": {
    "h": 308.148,
    "s": 50.311,
    "l": 68.431
  },
  "oklch": {
    "l": 0.72702,
    "c": 0.13328,
    "h": 331.9
  },
  "luminance": 0.35857
}

Semantic roles & 50–950 ramp

primary
#D786CC
secondary
#D0E9D4
accent
#BE3C28
background
#FEFAFD
surface
#FCF4FB
border
#D5CED4
text
#161015
muted
#847F83

Preview Lab

Preview with #D786CC

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

Preview Lab → · Contrast checker → · Palette generator →

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