#D786CF#D786CF

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

Color values

HEX#D786CF
RGBrgb(215, 134, 207)
HSLhsl(306, 50%, 68%)
HSVhsv(306, 38%, 84%)
CMYKcmyk(0%, 37.7%, 3.7%, 15.7%)
CIE-LABlab(66.52, 41.95, -24.77)
CIE-LCHlch(66.52, 48.71, 329.44°)
OKLaboklab(72.82% 0.1183 -0.0671)
OKLCHoklch(72.82% 0.136 330.4)
XYZxyz(47.8113, 36.0045, 63.4505)
Luminance0.3600 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D786CF #86D78E
analogous
#B686D7 #D786CF #D786A6
triadic
#D786CF #CFD786 #86CFD7
tetradic
#D786CF #D7B686 #86D78E #86A6D7
square
#D786CF #D7B686 #86D78E #86A6D7
split-complementary
#D786CF #A6D786 #86D7B6
monochromatic
#AA389F #C858BD #D786CF #E6B4E1 #F5E2F3

Accessibility & contrast

On white

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

On black

8.20
#D786CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D786CF
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D786CF#FFFFFF#000000##000000
##D786CF1.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#839BD2
Deuteranopia (green-blind)
#98A6CC
Tritanopia (blue-blind)
#DD8CA1
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #d786cf;
/* rgb */ color: rgb(215, 134, 207);
/* oklch */ color: oklch(72.8% 0.136 330.4);
Tailwind
colors: {
  custom: {
    50: '#e5abdd',
    500: '#d786cf',
    950: '#000000',
  },
}
SCSS
$custom: #d786cf;
$custom-light: #e5abdd;
$custom-dark: #000000;
JSON
{
  "hex": "#d786cf",
  "rgb": {
    "r": 215,
    "g": 134,
    "b": 207
  },
  "hsl": {
    "h": 305.926,
    "s": 50.311,
    "l": 68.431
  },
  "oklch": {
    "l": 0.72823,
    "c": 0.13599,
    "h": 330.4
  },
  "luminance": 0.36002
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D786CF

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

Preview Lab → · Contrast checker → · Palette generator →

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