#D386EB#D386EB

#D386EB is a light, vivid purple. Relative luminance 0.369; OKLCH L 73.6% C 0.162 H 317.8°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#D386EB
RGBrgb(211, 134, 235)
HSLhsl(286, 72%, 72%)
HSVhsv(286, 43%, 92%)
CMYKcmyk(10.2%, 43%, 0%, 7.8%)
CIE-LABlab(67.20, 46.03, -39.28)
CIE-LCHlch(67.20, 60.51, 319.52°)
OKLaboklab(73.6% 0.1197 -0.1084)
OKLCHoklch(73.6% 0.162 317.8)
XYZxyz(50.3824, 36.8988, 83.0493)
Luminance0.3690 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D386EB #9EEB86
analogous
#A186EB #D386EB #EB86D0
triadic
#D386EB #EBD386 #86EBD3
tetradic
#D386EB #EBA186 #9EEB86 #86D0EB
square
#D386EB #EBA186 #9EEB86 #86D0EB
split-complementary
#D386EB #D0EB86 #86EBA1
monochromatic
#AA23D4 #C051E2 #D386EB #E6BBF4 #F5E5FB

Accessibility & contrast

On white

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

On black

8.38
#D386EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D386EB
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D386EB#FFFFFF#000000##000000
##D386EB1.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#769FEF
Deuteranopia (green-blind)
#8AA6E8
Tritanopia (blue-blind)
#D393AD
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #d386eb;
/* rgb */ color: rgb(211, 134, 235);
/* oklch */ color: oklch(73.6% 0.162 317.8);
Tailwind
colors: {
  custom: {
    50: '#e2abf2',
    500: '#d386eb',
    950: '#000000',
  },
}
SCSS
$custom: #d386eb;
$custom-light: #e2abf2;
$custom-dark: #000000;
JSON
{
  "hex": "#d386eb",
  "rgb": {
    "r": 211,
    "g": 134,
    "b": 235
  },
  "hsl": {
    "h": 285.743,
    "s": 71.631,
    "l": 72.353
  },
  "oklch": {
    "l": 0.73604,
    "c": 0.16153,
    "h": 317.8
  },
  "luminance": 0.36897
}

Semantic roles & 50–950 ramp

primary
#D386EB
secondary
#DFF2D9
accent
#D41240
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #D386EB

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

Preview Lab → · Contrast checker → · Palette generator →

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