#D387EB#D387EB

#D387EB is a light, vivid purple. Relative luminance 0.372; OKLCH L 73.8% C 0.160 H 317.7°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#D387EB
RGBrgb(211, 135, 235)
HSLhsl(286, 71%, 73%)
HSVhsv(286, 43%, 92%)
CMYKcmyk(10.2%, 42.6%, 0%, 7.8%)
CIE-LABlab(67.41, 45.50, -38.96)
CIE-LCHlch(67.41, 59.90, 319.43°)
OKLaboklab(73.76% 0.1183 -0.1075)
OKLCHoklch(73.76% 0.16 317.7)
XYZxyz(50.5212, 37.1765, 83.0956)
Luminance0.3718 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D387EB #9FEB87
analogous
#A187EB #D387EB #EB87D1
triadic
#D387EB #EBD387 #87EBD3
tetradic
#D387EB #EBA187 #9FEB87 #87D1EB
square
#D387EB #EBA187 #9FEB87 #87D1EB
split-complementary
#D387EB #D1EB87 #87EBA1
monochromatic
#AA23D4 #C053E2 #D387EB #E6BBF4 #F5E5FB

Accessibility & contrast

On white

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

On black

8.44
#D387EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D387EB
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D387EB#FFFFFF#000000##000000
##D387EB1.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d387eb;
/* rgb */ color: rgb(211, 135, 235);
/* oklch */ color: oklch(73.8% 0.160 317.7);
Tailwind
colors: {
  custom: {
    50: '#e2abf2',
    500: '#d387eb',
    950: '#000000',
  },
}
SCSS
$custom: #d387eb;
$custom-light: #e2abf2;
$custom-dark: #000000;
JSON
{
  "hex": "#d387eb",
  "rgb": {
    "r": 211,
    "g": 135,
    "b": 235
  },
  "hsl": {
    "h": 285.6,
    "s": 71.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.7376,
    "c": 0.15986,
    "h": 317.7
  },
  "luminance": 0.37175
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D387EB

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

Preview Lab → · Contrast checker → · Palette generator →

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