#D786E5#D786E5

#D786E5 is a light, vivid purple. Relative luminance 0.372; OKLCH L 73.8% C 0.157 H 321.5°. Best body text is #000000 at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#D786E5
RGBrgb(215, 134, 229)
HSLhsl(291, 65%, 71%)
HSVhsv(291, 41%, 90%)
CMYKcmyk(6.1%, 41.5%, 0%, 10.2%)
CIE-LABlab(67.39, 46.02, -35.64)
CIE-LCHlch(67.39, 58.21, 322.24°)
OKLaboklab(73.76% 0.1232 -0.0979)
OKLCHoklch(73.76% 0.157 321.5)
XYZxyz(50.6907, 37.1563, 78.6152)
Luminance0.3715 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D786E5 #94E586
analogous
#A786E5 #D786E5 #E586C3
triadic
#D786E5 #E5D786 #86E5D7
tetradic
#D786E5 #E5A786 #94E586 #86C3E5
square
#D786E5 #E5A786 #94E586 #86C3E5
split-complementary
#D786E5 #C3E586 #86E5A7
monochromatic
#AF2BC6 #C654DA #D786E5 #E8B8F0 #F7E6FA

Accessibility & contrast

On white

2.49
#D786E5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.43
#D786E5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D786E5
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D786E5#FFFFFF#000000##000000
##D786E51.002.498.438.43
#FFFFFF2.491.0021.0021.00
#0000008.4321.001.001.00
##0000008.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A9EE8
Deuteranopia (green-blind)
#8FA7E2
Tritanopia (blue-blind)
#D991AB
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #d786e5;
/* rgb */ color: rgb(215, 134, 229);
/* oklch */ color: oklch(73.8% 0.157 321.5);
Tailwind
colors: {
  custom: {
    50: '#e5abed',
    500: '#d786e5',
    950: '#000000',
  },
}
SCSS
$custom: #d786e5;
$custom-light: #e5abed;
$custom-dark: #000000;
JSON
{
  "hex": "#d786e5",
  "rgb": {
    "r": 215,
    "g": 134,
    "b": 229
  },
  "hsl": {
    "h": 291.158,
    "s": 64.626,
    "l": 71.176
  },
  "oklch": {
    "l": 0.73763,
    "c": 0.15738,
    "h": 321.5
  },
  "luminance": 0.37154
}

Semantic roles & 50–950 ramp

primary
#D786E5
secondary
#DBF0D7
accent
#CC1933
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#161016
muted
#847F84

Preview Lab

Preview with #D786E5

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

Preview Lab → · Contrast checker → · Palette generator →

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