#D786CE#D786CE

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

Color values

HEX#D786CE
RGBrgb(215, 134, 206)
HSLhsl(307, 50%, 68%)
HSVhsv(307, 38%, 84%)
CMYKcmyk(0%, 37.7%, 4.2%, 15.7%)
CIE-LABlab(66.49, 41.77, -24.27)
CIE-LCHlch(66.49, 48.31, 329.84°)
OKLaboklab(72.78% 0.118 -0.0657)
OKLCHoklch(72.78% 0.135 330.9)
XYZxyz(47.6894, 35.9558, 62.8087)
Luminance0.3595 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D786CE #86D78F
analogous
#B786D7 #D786CE #D786A5
triadic
#D786CE #CED786 #86CED7
tetradic
#D786CE #D7B786 #86D78F #86A5D7
square
#D786CE #D7B786 #86D78F #86A5D7
split-complementary
#D786CE #A5D786 #86D7B7
monochromatic
#AA389E #C858BB #D786CE #E6B4E1 #F5E2F3

Accessibility & contrast

On white

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

On black

8.19
#D786CE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D786CE
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D786CE#FFFFFF#000000##000000
##D786CE1.002.568.198.19
#FFFFFF2.561.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#839BD1
Deuteranopia (green-blind)
#98A6CB
Tritanopia (blue-blind)
#DD8BA1
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #d786ce;
/* rgb */ color: rgb(215, 134, 206);
/* oklch */ color: oklch(72.8% 0.135 330.9);
Tailwind
colors: {
  custom: {
    50: '#e4abdd',
    500: '#d786ce',
    950: '#000000',
  },
}
SCSS
$custom: #d786ce;
$custom-light: #e4abdd;
$custom-dark: #000000;
JSON
{
  "hex": "#d786ce",
  "rgb": {
    "r": 215,
    "g": 134,
    "b": 206
  },
  "hsl": {
    "h": 306.667,
    "s": 50.311,
    "l": 68.431
  },
  "oklch": {
    "l": 0.72783,
    "c": 0.13508,
    "h": 330.9
  },
  "luminance": 0.35953
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D786CE

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

Preview Lab → · Contrast checker → · Palette generator →

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