#D786E2#D786E2

#D786E2 is a light, vivid purple. Relative luminance 0.370; OKLCH L 73.6% C 0.154 H 322.6°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#D786E2
RGBrgb(215, 134, 226)
HSLhsl(293, 61%, 71%)
HSVhsv(293, 41%, 89%)
CMYKcmyk(4.9%, 40.7%, 0%, 11.4%)
CIE-LABlab(67.27, 45.45, -34.18)
CIE-LCHlch(67.27, 56.86, 323.06°)
OKLaboklab(73.63% 0.1226 -0.0937)
OKLCHoklch(73.63% 0.154 322.6)
XYZxyz(50.2754, 36.9902, 76.4283)
Luminance0.3699 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D786E2 #91E286
analogous
#A986E2 #D786E2 #E286BF
triadic
#D786E2 #E2D786 #86E2D7
tetradic
#D786E2 #E2A986 #91E286 #86BFE2
square
#D786E2 #E2A986 #91E286 #86BFE2
split-complementary
#D786E2 #BFE286 #86E2A9
monochromatic
#AE2EC0 #C755D6 #D786E2 #E7B7EE #F7E6F9

Accessibility & contrast

On white

2.50
#D786E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#D786E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D786E2
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D786E2#FFFFFF#000000##000000
##D786E21.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B9EE5
Deuteranopia (green-blind)
#91A7DF
Tritanopia (blue-blind)
#DA90A9
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #d786e2;
/* rgb */ color: rgb(215, 134, 226);
/* oklch */ color: oklch(73.6% 0.154 322.6);
Tailwind
colors: {
  custom: {
    50: '#e5abeb',
    500: '#d786e2',
    950: '#000000',
  },
}
SCSS
$custom: #d786e2;
$custom-light: #e5abeb;
$custom-dark: #000000;
JSON
{
  "hex": "#d786e2",
  "rgb": {
    "r": 215,
    "g": 134,
    "b": 226
  },
  "hsl": {
    "h": 292.826,
    "s": 61.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.73629,
    "c": 0.15434,
    "h": 322.6
  },
  "luminance": 0.36988
}

Semantic roles & 50–950 ramp

primary
#D786E2
secondary
#D8EED5
accent
#C91C31
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#161016
muted
#847F84

Preview Lab

Preview with #D786E2

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

Preview Lab → · Contrast checker → · Palette generator →

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