#D387EE#D387EE

#D387EE is a light, vivid purple. Relative luminance 0.373; OKLCH L 73.9% C 0.163 H 316.8°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#D387EE
RGBrgb(211, 135, 238)
HSLhsl(284, 75%, 73%)
HSVhsv(284, 43%, 93%)
CMYKcmyk(11.3%, 43.3%, 0%, 6.7%)
CIE-LABlab(67.54, 46.10, -40.41)
CIE-LCHlch(67.54, 61.31, 318.77°)
OKLaboklab(73.9% 0.1188 -0.1117)
OKLCHoklch(73.9% 0.163 316.8)
XYZxyz(50.9583, 37.3513, 85.3975)
Luminance0.3735 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D387EE #A2EE87
analogous
#9F87EE #D387EE #EE87D5
triadic
#D387EE #EED387 #87EED3
tetradic
#D387EE #EE9F87 #A2EE87 #87D5EE
square
#D387EE #EE9F87 #A2EE87 #87D5EE
split-complementary
#D387EE #D5EE87 #87EE9F
monochromatic
#AA1FDC #BF51E6 #D387EE #E7BDF6 #F5E4FB

Accessibility & contrast

On white

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

On black

8.47
#D387EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D387EE
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D387EE#FFFFFF#000000##000000
##D387EE1.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A0F2
Deuteranopia (green-blind)
#8AA7EB
Tritanopia (blue-blind)
#D295AF
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #d387ee;
/* rgb */ color: rgb(211, 135, 238);
/* oklch */ color: oklch(73.9% 0.163 316.8);
Tailwind
colors: {
  custom: {
    50: '#e2abf4',
    500: '#d387ee',
    950: '#000000',
  },
}
SCSS
$custom: #d387ee;
$custom-light: #e2abf4;
$custom-dark: #000000;
JSON
{
  "hex": "#d387ee",
  "rgb": {
    "r": 211,
    "g": 135,
    "b": 238
  },
  "hsl": {
    "h": 284.272,
    "s": 75.182,
    "l": 73.137
  },
  "oklch": {
    "l": 0.739,
    "c": 0.16307,
    "h": 316.8
  },
  "luminance": 0.3735
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D387EE

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

Preview Lab → · Contrast checker → · Palette generator →

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