#D386EA#D386EA

#D386EA is a light, vivid purple. Relative luminance 0.368; OKLCH L 73.6% C 0.160 H 318.2°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#D386EA
RGBrgb(211, 134, 234)
HSLhsl(286, 70%, 72%)
HSVhsv(286, 43%, 92%)
CMYKcmyk(9.8%, 42.7%, 0%, 8.2%)
CIE-LABlab(67.16, 45.83, -38.80)
CIE-LCHlch(67.16, 60.05, 319.75°)
OKLaboklab(73.56% 0.1195 -0.107)
OKLCHoklch(73.56% 0.16 318.2)
XYZxyz(50.2383, 36.8411, 82.2906)
Luminance0.3684 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D386EA #9DEA86
analogous
#A186EA #D386EA #EA86CF
triadic
#D386EA #EAD386 #86EAD3
tetradic
#D386EA #EAA186 #9DEA86 #86CFEA
square
#D386EA #EAA186 #9DEA86 #86CFEA
split-complementary
#D386EA #CFEA86 #86EAA1
monochromatic
#A924D1 #C052E1 #D386EA #E6BAF3 #F6E5FA

Accessibility & contrast

On white

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

On black

8.37
#D386EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D386EA
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D386EA#FFFFFF#000000##000000
##D386EA1.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#769EEE
Deuteranopia (green-blind)
#8BA6E7
Tritanopia (blue-blind)
#D393AD
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #d386ea;
/* rgb */ color: rgb(211, 134, 234);
/* oklch */ color: oklch(73.6% 0.160 318.2);
Tailwind
colors: {
  custom: {
    50: '#e2abf1',
    500: '#d386ea',
    950: '#000000',
  },
}
SCSS
$custom: #d386ea;
$custom-light: #e2abf1;
$custom-dark: #000000;
JSON
{
  "hex": "#d386ea",
  "rgb": {
    "r": 211,
    "g": 134,
    "b": 234
  },
  "hsl": {
    "h": 286.2,
    "s": 70.423,
    "l": 72.157
  },
  "oklch": {
    "l": 0.73557,
    "c": 0.16047,
    "h": 318.2
  },
  "luminance": 0.3684
}

Semantic roles & 50–950 ramp

primary
#D386EA
secondary
#DFF2D9
accent
#D2133F
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#161016
muted
#847F84

Preview Lab

Preview with #D386EA

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

Preview Lab → · Contrast checker → · Palette generator →

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