#D786D2#D786D2

#D786D2 is a light, vivid purple. Relative luminance 0.361; OKLCH L 72.9% C 0.139 H 329.1°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#D786D2
RGBrgb(215, 134, 210)
HSLhsl(304, 50%, 68%)
HSVhsv(304, 38%, 84%)
CMYKcmyk(0%, 37.7%, 2.3%, 15.7%)
CIE-LABlab(66.64, 42.48, -26.27)
CIE-LCHlch(66.64, 49.95, 328.27°)
OKLaboklab(72.95% 0.119 -0.0713)
OKLCHoklch(72.95% 0.139 329.1)
XYZxyz(48.1815, 36.1526, 65.4005)
Luminance0.3615 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D786D2 #86D78B
analogous
#B386D7 #D786D2 #D786A9
triadic
#D786D2 #D2D786 #86D2D7
tetradic
#D786D2 #D7B386 #86D78B #86A9D7
square
#D786D2 #D7B386 #86D78B #86A9D7
split-complementary
#D786D2 #A9D786 #86D7B3
monochromatic
#AA38A3 #C858C1 #D786D2 #E6B4E3 #F5E2F4

Accessibility & contrast

On white

2.55
#D786D2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#D786D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D786D2
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D786D2#FFFFFF#000000##000000
##D786D21.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#829BD5
Deuteranopia (green-blind)
#97A6CF
Tritanopia (blue-blind)
#DD8CA3
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #d786d2;
/* rgb */ color: rgb(215, 134, 210);
/* oklch */ color: oklch(72.9% 0.139 329.1);
Tailwind
colors: {
  custom: {
    50: '#e5abe0',
    500: '#d786d2',
    950: '#000000',
  },
}
SCSS
$custom: #d786d2;
$custom-light: #e5abe0;
$custom-dark: #000000;
JSON
{
  "hex": "#d786d2",
  "rgb": {
    "r": 215,
    "g": 134,
    "b": 210
  },
  "hsl": {
    "h": 303.704,
    "s": 50.311,
    "l": 68.431
  },
  "oklch": {
    "l": 0.72945,
    "c": 0.13876,
    "h": 329.1
  },
  "luminance": 0.3615
}

Semantic roles & 50–950 ramp

primary
#D786D2
secondary
#D0E9D2
accent
#BE3128
background
#FEFAFD
surface
#FCF4FB
border
#D5CED4
text
#161015
muted
#847F83

Preview Lab

Preview with #D786D2

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

Preview Lab → · Contrast checker → · Palette generator →

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