#D786DC#D786DC

#D786DC is a light, vivid purple. Relative luminance 0.367; OKLCH L 73.4% C 0.148 H 324.9°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#D786DC
RGBrgb(215, 134, 220)
HSLhsl(297, 55%, 69%)
HSVhsv(297, 39%, 86%)
CMYKcmyk(2.3%, 39.1%, 0%, 13.7%)
CIE-LABlab(67.03, 44.32, -31.23)
CIE-LCHlch(67.03, 54.21, 324.83°)
OKLaboklab(73.37% 0.1214 -0.0853)
OKLCHoklch(73.37% 0.148 324.9)
XYZxyz(49.4665, 36.6666, 72.1680)
Luminance0.3666 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D786DC #8BDC86
analogous
#AC86DC #D786DC #DC86B6
triadic
#D786DC #DCD786 #86DCD7
tetradic
#D786DC #DCAC86 #8BDC86 #86B6DC
square
#D786DC #DCAC86 #8BDC86 #86B6DC
split-complementary
#D786DC #B6DC86 #86DCAC
monochromatic
#AC34B4 #C757CE #D786DC #E7B5EA #F6E5F7

Accessibility & contrast

On white

2.52
#D786DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.33
#D786DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D786DC
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D786DC#FFFFFF#000000##000000
##D786DC1.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E9DDF
Deuteranopia (green-blind)
#93A7D9
Tritanopia (blue-blind)
#DB8FA7
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #d786dc;
/* rgb */ color: rgb(215, 134, 220);
/* oklch */ color: oklch(73.4% 0.148 324.9);
Tailwind
colors: {
  custom: {
    50: '#e5abe7',
    500: '#d786dc',
    950: '#000000',
  },
}
SCSS
$custom: #d786dc;
$custom-light: #e5abe7;
$custom-dark: #000000;
JSON
{
  "hex": "#d786dc",
  "rgb": {
    "r": 215,
    "g": 134,
    "b": 220
  },
  "hsl": {
    "h": 296.512,
    "s": 55.128,
    "l": 69.412
  },
  "oklch": {
    "l": 0.73367,
    "c": 0.14835,
    "h": 324.9
  },
  "luminance": 0.36665
}

Semantic roles & 50–950 ramp

primary
#D786DC
secondary
#D4EBD3
accent
#C3232C
background
#FEFAFE
surface
#FCF4FC
border
#D5CED5
text
#161016
muted
#847F84

Preview Lab

Preview with #D786DC

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

Preview Lab → · Contrast checker → · Palette generator →

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