#D387EF#D387EF

#D387EF is a light, vivid purple. Relative luminance 0.374; OKLCH L 73.9% C 0.164 H 316.5°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#D387EF
RGBrgb(211, 135, 239)
HSLhsl(284, 76%, 73%)
HSVhsv(284, 44%, 94%)
CMYKcmyk(11.7%, 43.5%, 0%, 6.3%)
CIE-LABlab(67.58, 46.31, -40.89)
CIE-LCHlch(67.58, 61.77, 318.56°)
OKLaboklab(73.95% 0.119 -0.1131)
OKLCHoklch(73.95% 0.164 316.5)
XYZxyz(51.1056, 37.4103, 86.1734)
Luminance0.3741 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D387EF #A3EF87
analogous
#9F87EF #D387EF #EF87D7
triadic
#D387EF #EFD387 #87EFD3
tetradic
#D387EF #EF9F87 #A3EF87 #87D7EF
square
#D387EF #EF9F87 #A3EF87 #87D7EF
split-complementary
#D387EF #D7EF87 #87EF9F
monochromatic
#AA1EDE #BF51E8 #D387EF #E7BDF6 #F5E4FB

Accessibility & contrast

On white

2.48
#D387EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.48
#D387EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D387EF
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D387EF#FFFFFF#000000##000000
##D387EF1.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A0F3
Deuteranopia (green-blind)
#89A7EC
Tritanopia (blue-blind)
#D295B0
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #d387ef;
/* rgb */ color: rgb(211, 135, 239);
/* oklch */ color: oklch(73.9% 0.164 316.5);
Tailwind
colors: {
  custom: {
    50: '#e2abf4',
    500: '#d387ef',
    950: '#000000',
  },
}
SCSS
$custom: #d387ef;
$custom-light: #e2abf4;
$custom-dark: #000000;
JSON
{
  "hex": "#d387ef",
  "rgb": {
    "r": 211,
    "g": 135,
    "b": 239
  },
  "hsl": {
    "h": 283.846,
    "s": 76.471,
    "l": 73.333
  },
  "oklch": {
    "l": 0.73947,
    "c": 0.16415,
    "h": 316.5
  },
  "luminance": 0.37409
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D387EF

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

Preview Lab → · Contrast checker → · Palette generator →

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