#D87FEE#D87FEE

#D87FEE is a light, vivid purple. Relative luminance 0.360; OKLCH L 73.2% C 0.179 H 319.4°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#D87FEE
RGBrgb(216, 127, 238)
HSLhsl(288, 77%, 72%)
HSVhsv(288, 47%, 93%)
CMYKcmyk(9.2%, 46.6%, 0%, 6.7%)
CIE-LABlab(66.48, 51.67, -42.02)
CIE-LCHlch(66.48, 66.59, 320.88°)
OKLaboklab(73.24% 0.1357 -0.1162)
OKLCHoklch(73.24% 0.179 319.4)
XYZxyz(51.3389, 35.9526, 85.1075)
Luminance0.3595 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D87FEE #95EE7F
analogous
#A17FEE #D87FEE #EE7FCD
triadic
#D87FEE #EED87F #7FEED8
tetradic
#D87FEE #EEA17F #95EE7F #7FCDEE
square
#D87FEE #EEA17F #95EE7F #7FCDEE
split-complementary
#D87FEE #CDEE7F #7FEEA1
monochromatic
#B11CD6 #C849E7 #D87FEE #E8B5F5 #F7E4FB

Accessibility & contrast

On white

2.56
#D87FEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.19
#D87FEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D87FEE
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D87FEE#FFFFFF#000000##000000
##D87FEE1.002.568.198.19
#FFFFFF2.561.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9CF2
Deuteranopia (green-blind)
#86A5EB
Tritanopia (blue-blind)
#D98EAB
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #d87fee;
/* rgb */ color: rgb(216, 127, 238);
/* oklch */ color: oklch(73.2% 0.179 319.4);
Tailwind
colors: {
  custom: {
    50: '#e6a6f4',
    500: '#d87fee',
    950: '#000000',
  },
}
SCSS
$custom: #d87fee;
$custom-light: #e6a6f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d87fee",
  "rgb": {
    "r": 216,
    "g": 127,
    "b": 238
  },
  "hsl": {
    "h": 288.108,
    "s": 76.552,
    "l": 71.569
  },
  "oklch": {
    "l": 0.73237,
    "c": 0.17865,
    "h": 319.4
  },
  "luminance": 0.35951
}

Semantic roles & 50–950 ramp

primary
#D87FEE
secondary
#DCF3D6
accent
#D90D35
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #D87FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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