#D387CF#D387CF

#D387CF is a light, vivid purple. Relative luminance 0.357; OKLCH L 72.5% C 0.131 H 328.7°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#D387CF
RGBrgb(211, 135, 207)
HSLhsl(303, 46%, 68%)
HSVhsv(303, 36%, 83%)
CMYKcmyk(0%, 36%, 1.9%, 17.3%)
CIE-LABlab(66.28, 40.15, -25.19)
CIE-LCHlch(66.28, 47.40, 327.90°)
OKLaboklab(72.54% 0.1123 -0.0683)
OKLCHoklch(72.54% 0.131 328.7)
XYZxyz(46.7896, 35.6839, 63.4424)
Luminance0.3568 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D387CF #87D38B
analogous
#B187D3 #D387CF #D387A9
triadic
#D387CF #CFD387 #87CFD3
tetradic
#D387CF #D3B187 #87D38B #87A9D3
square
#D387CF #D3B187 #87D38B #87A9D3
split-complementary
#D387CF #A9D387 #87D3B1
monochromatic
#A43C9E #C35ABD #D387CF #E3B4E1 #F4E1F3

Accessibility & contrast

On white

2.58
#D387CF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.14
#D387CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D387CF
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D387CF#FFFFFF#000000##000000
##D387CF1.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#839BD2
Deuteranopia (green-blind)
#96A5CD
Tritanopia (blue-blind)
#D88DA2
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #d387cf;
/* rgb */ color: rgb(211, 135, 207);
/* oklch */ color: oklch(72.5% 0.131 328.7);
Tailwind
colors: {
  custom: {
    50: '#e2abdd',
    500: '#d387cf',
    950: '#000000',
  },
}
SCSS
$custom: #d387cf;
$custom-light: #e2abdd;
$custom-dark: #000000;
JSON
{
  "hex": "#d387cf",
  "rgb": {
    "r": 211,
    "g": 135,
    "b": 207
  },
  "hsl": {
    "h": 303.158,
    "s": 46.341,
    "l": 67.843
  },
  "oklch": {
    "l": 0.72537,
    "c": 0.13141,
    "h": 328.7
  },
  "luminance": 0.35682
}

Semantic roles & 50–950 ramp

primary
#D387CF
secondary
#CFE7D0
accent
#BA332C
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83

Preview Lab

Preview with #D387CF

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

Preview Lab → · Contrast checker → · Palette generator →

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