#D387EA#D387EA

#D387EA is a light, vivid purple. Relative luminance 0.371; OKLCH L 73.7% C 0.159 H 318.1°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#D387EA
RGBrgb(211, 135, 234)
HSLhsl(286, 70%, 72%)
HSVhsv(286, 42%, 92%)
CMYKcmyk(9.8%, 42.3%, 0%, 8.2%)
CIE-LABlab(67.37, 45.30, -38.48)
CIE-LCHlch(67.37, 59.44, 319.66°)
OKLaboklab(73.71% 0.1181 -0.1061)
OKLCHoklch(73.71% 0.159 318.1)
XYZxyz(50.3772, 37.1189, 82.3369)
Luminance0.3712 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D387EA #9EEA87
analogous
#A287EA #D387EA #EA87CF
triadic
#D387EA #EAD387 #87EAD3
tetradic
#D387EA #EAA287 #9EEA87 #87CFEA
square
#D387EA #EAA287 #9EEA87 #87CFEA
split-complementary
#D387EA #CFEA87 #87EAA2
monochromatic
#AA25D2 #C053E1 #D387EA #E6BBF3 #F5E5FA

Accessibility & contrast

On white

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

On black

8.42
#D387EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D387EA
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D387EA#FFFFFF#000000##000000
##D387EA1.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#779FEE
Deuteranopia (green-blind)
#8CA7E7
Tritanopia (blue-blind)
#D394AE
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #d387ea;
/* rgb */ color: rgb(211, 135, 234);
/* oklch */ color: oklch(73.7% 0.159 318.1);
Tailwind
colors: {
  custom: {
    50: '#e2abf1',
    500: '#d387ea',
    950: '#000000',
  },
}
SCSS
$custom: #d387ea;
$custom-light: #e2abf1;
$custom-dark: #000000;
JSON
{
  "hex": "#d387ea",
  "rgb": {
    "r": 211,
    "g": 135,
    "b": 234
  },
  "hsl": {
    "h": 286.061,
    "s": 70.213,
    "l": 72.353
  },
  "oklch": {
    "l": 0.73713,
    "c": 0.1588,
    "h": 318.1
  },
  "luminance": 0.37117
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D387EA

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

Preview Lab → · Contrast checker → · Palette generator →

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