#D386EF#D386EF

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

Color values

HEX#D386EF
RGBrgb(211, 134, 239)
HSLhsl(284, 77%, 73%)
HSVhsv(284, 44%, 94%)
CMYKcmyk(11.7%, 43.9%, 0%, 6.3%)
CIE-LABlab(67.38, 46.83, -41.21)
CIE-LCHlch(67.38, 62.38, 318.65°)
OKLaboklab(73.79% 0.1204 -0.114)
OKLCHoklch(73.79% 0.166 316.6)
XYZxyz(50.9668, 37.1325, 86.1271)
Luminance0.3713 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D386EF #A2EF86
analogous
#9E86EF #D386EF #EF86D6
triadic
#D386EF #EFD386 #86EFD3
tetradic
#D386EF #EF9E86 #A2EF86 #86D6EF
square
#D386EF #EF9E86 #A2EF86 #86D6EF
split-complementary
#D386EF #D6EF86 #86EF9E
monochromatic
#AA1DDD #BF50E8 #D386EF #E7BCF6 #F5E4FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D386EF#FFFFFF#000000##000000
##D386EF1.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)
#749FF3
Deuteranopia (green-blind)
#88A6EC
Tritanopia (blue-blind)
#D294AF
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #d386ef;
/* rgb */ color: rgb(211, 134, 239);
/* oklch */ color: oklch(73.8% 0.166 316.6);
Tailwind
colors: {
  custom: {
    50: '#e2abf4',
    500: '#d386ef',
    950: '#000000',
  },
}
SCSS
$custom: #d386ef;
$custom-light: #e2abf4;
$custom-dark: #000000;
JSON
{
  "hex": "#d386ef",
  "rgb": {
    "r": 211,
    "g": 134,
    "b": 239
  },
  "hsl": {
    "h": 284,
    "s": 76.642,
    "l": 73.137
  },
  "oklch": {
    "l": 0.73792,
    "c": 0.16581,
    "h": 316.6
  },
  "luminance": 0.37131
}

Semantic roles & 50–950 ramp

primary
#D386EF
secondary
#DFF3D8
accent
#D90D43
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #D386EF

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

Preview Lab → · Contrast checker → · Palette generator →

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