#D786EE#D786EE

#D786EE is a light, vivid purple. Relative luminance 0.377; OKLCH L 74.2% C 0.167 H 318.5°. Best body text is #000000 at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#D786EE
RGBrgb(215, 134, 238)
HSLhsl(287, 75%, 73%)
HSVhsv(287, 44%, 93%)
CMYKcmyk(9.7%, 43.7%, 0%, 6.7%)
CIE-LABlab(67.78, 47.77, -40.00)
CIE-LCHlch(67.78, 62.31, 320.06°)
OKLaboklab(74.18% 0.1249 -0.1104)
OKLCHoklch(74.18% 0.167 318.5)
XYZxyz(51.9800, 37.6720, 85.4056)
Luminance0.3767 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D786EE #9DEE86
analogous
#A386EE #D786EE #EE86D1
triadic
#D786EE #EED786 #86EED7
tetradic
#D786EE #EEA386 #9DEE86 #86D1EE
square
#D786EE #EEA386 #9DEE86 #86D1EE
split-complementary
#D786EE #D1EE86 #86EEA3
monochromatic
#B11FDB #C550E6 #D786EE #E9BCF6 #F6E4FB

Accessibility & contrast

On white

2.46
#D786EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.53
#D786EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D786EE
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D786EE#FFFFFF#000000##000000
##D786EE1.002.468.538.53
#FFFFFF2.461.0021.0021.00
#0000008.5321.001.001.00
##0000008.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A0F2
Deuteranopia (green-blind)
#8BA8EB
Tritanopia (blue-blind)
#D794AF
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #d786ee;
/* rgb */ color: rgb(215, 134, 238);
/* oklch */ color: oklch(74.2% 0.167 318.5);
Tailwind
colors: {
  custom: {
    50: '#e5abf4',
    500: '#d786ee',
    950: '#000000',
  },
}
SCSS
$custom: #d786ee;
$custom-light: #e5abf4;
$custom-dark: #000000;
JSON
{
  "hex": "#d786ee",
  "rgb": {
    "r": 215,
    "g": 134,
    "b": 238
  },
  "hsl": {
    "h": 286.731,
    "s": 75.362,
    "l": 72.941
  },
  "oklch": {
    "l": 0.74177,
    "c": 0.16668,
    "h": 318.5
  },
  "luminance": 0.3767
}

Semantic roles & 50–950 ramp

primary
#D786EE
secondary
#DEF3D8
accent
#D80E3B
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #D786EE

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

Preview Lab → · Contrast checker → · Palette generator →

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