#D786DF#D786DF

#D786DF is a light, vivid purple. Relative luminance 0.368; OKLCH L 73.5% C 0.151 H 323.7°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#D786DF
RGBrgb(215, 134, 223)
HSLhsl(295, 58%, 70%)
HSVhsv(295, 40%, 87%)
CMYKcmyk(3.6%, 39.9%, 0%, 12.5%)
CIE-LABlab(67.15, 44.88, -32.71)
CIE-LCHlch(67.15, 55.53, 323.92°)
OKLaboklab(73.5% 0.122 -0.0895)
OKLCHoklch(73.5% 0.151 323.7)
XYZxyz(49.8674, 36.8270, 74.2793)
Luminance0.3683 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D786DF #8EDF86
analogous
#AB86DF #D786DF #DF86BA
triadic
#D786DF #DFD786 #86DFD7
tetradic
#D786DF #DFAB86 #8EDF86 #86BADF
square
#D786DF #DFAB86 #8EDF86 #86BADF
split-complementary
#D786DF #BADF86 #86DFAB
monochromatic
#AD31BA #C756D2 #D786DF #E7B6EC #F7E7F9

Accessibility & contrast

On white

2.51
#D786DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#D786DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D786DF
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D786DF#FFFFFF#000000##000000
##D786DF1.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C9DE2
Deuteranopia (green-blind)
#92A7DC
Tritanopia (blue-blind)
#DA90A8
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #d786df;
/* rgb */ color: rgb(215, 134, 223);
/* oklch */ color: oklch(73.5% 0.151 323.7);
Tailwind
colors: {
  custom: {
    50: '#e5abe9',
    500: '#d786df',
    950: '#000000',
  },
}
SCSS
$custom: #d786df;
$custom-light: #e5abe9;
$custom-dark: #000000;
JSON
{
  "hex": "#d786df",
  "rgb": {
    "r": 215,
    "g": 134,
    "b": 223
  },
  "hsl": {
    "h": 294.607,
    "s": 58.17,
    "l": 70
  },
  "oklch": {
    "l": 0.73497,
    "c": 0.15133,
    "h": 323.7
  },
  "luminance": 0.36825
}

Semantic roles & 50–950 ramp

primary
#D786DF
secondary
#D6EDD4
accent
#C6202F
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#161016
muted
#847F84

Preview Lab

Preview with #D786DF

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

Preview Lab → · Contrast checker → · Palette generator →

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