#D387CD#D387CD

#D387CD is a light, vivid purple. Relative luminance 0.356; OKLCH L 72.5% C 0.130 H 329.6°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#D387CD
RGBrgb(211, 135, 205)
HSLhsl(305, 46%, 68%)
HSVhsv(305, 36%, 83%)
CMYKcmyk(0%, 36%, 2.8%, 17.3%)
CIE-LABlab(66.20, 39.79, -24.19)
CIE-LCHlch(66.20, 46.56, 328.71°)
OKLaboklab(72.46% 0.1117 -0.0655)
OKLCHoklch(72.46% 0.13 329.6)
XYZxyz(46.5467, 35.5867, 62.1629)
Luminance0.3558 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D387CD #87D38D
analogous
#B387D3 #D387CD #D387A7
triadic
#D387CD #CDD387 #87CDD3
tetradic
#D387CD #D3B387 #87D38D #87A7D3
square
#D387CD #D3B387 #87D38D #87A7D3
split-complementary
#D387CD #A7D387 #87D3B3
monochromatic
#A43C9B #C35ABA #D387CD #E3B4E0 #F4E1F2

Accessibility & contrast

On white

2.59
#D387CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.12
#D387CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D387CD
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D387CD#FFFFFF#000000##000000
##D387CD1.002.598.128.12
#FFFFFF2.591.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#849BD0
Deuteranopia (green-blind)
#97A5CB
Tritanopia (blue-blind)
#D88DA1
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #d387cd;
/* rgb */ color: rgb(211, 135, 205);
/* oklch */ color: oklch(72.5% 0.130 329.6);
Tailwind
colors: {
  custom: {
    50: '#e2abdc',
    500: '#d387cd',
    950: '#000000',
  },
}
SCSS
$custom: #d387cd;
$custom-light: #e2abdc;
$custom-dark: #000000;
JSON
{
  "hex": "#d387cd",
  "rgb": {
    "r": 211,
    "g": 135,
    "b": 205
  },
  "hsl": {
    "h": 304.737,
    "s": 46.341,
    "l": 67.843
  },
  "oklch": {
    "l": 0.72456,
    "c": 0.12952,
    "h": 329.6
  },
  "luminance": 0.35585
}

Semantic roles & 50–950 ramp

primary
#D387CD
secondary
#CFE7D1
accent
#BA372C
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83

Preview Lab

Preview with #D387CD

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

Preview Lab → · Contrast checker → · Palette generator →

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