#D87FDE#D87FDE

#D87FDE is a light, vivid purple. Relative luminance 0.351; OKLCH L 72.5% C 0.163 H 324.8°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#D87FDE
RGBrgb(216, 127, 222)
HSLhsl(296, 59%, 68%)
HSVhsv(296, 43%, 87%)
CMYKcmyk(2.7%, 42.8%, 0%, 12.9%)
CIE-LABlab(65.79, 48.62, -34.25)
CIE-LCHlch(65.79, 59.47, 324.84°)
OKLaboklab(72.49% 0.133 -0.0938)
OKLCHoklch(72.49% 0.163 324.8)
XYZxyz(49.0919, 35.0538, 73.2732)
Luminance0.3505 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D87FDE #85DE7F
analogous
#A87FDE #D87FDE #DE7FB4
triadic
#D87FDE #DED87F #7FDED8
tetradic
#D87FDE #DEA87F #85DE7F #7FB4DE
square
#D87FDE #DEA87F #85DE7F #7FB4DE
split-complementary
#D87FDE #B4DE7F #7FDEA8
monochromatic
#AC2EB4 #C94ED1 #D87FDE #E7B0EB #F6E0F7

Accessibility & contrast

On white

2.62
#D87FDE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#D87FDE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D87FDE
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D87FDE#FFFFFF#000000##000000
##D87FDE1.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7599E1
Deuteranopia (green-blind)
#8DA4DB
Tritanopia (blue-blind)
#DC89A4
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d87fde;
/* rgb */ color: rgb(216, 127, 222);
/* oklch */ color: oklch(72.5% 0.163 324.8);
Tailwind
colors: {
  custom: {
    50: '#e6a6e8',
    500: '#d87fde',
    950: '#000000',
  },
}
SCSS
$custom: #d87fde;
$custom-light: #e6a6e8;
$custom-dark: #000000;
JSON
{
  "hex": "#d87fde",
  "rgb": {
    "r": 216,
    "g": 127,
    "b": 222
  },
  "hsl": {
    "h": 296.211,
    "s": 59.006,
    "l": 68.431
  },
  "oklch": {
    "l": 0.72493,
    "c": 0.16278,
    "h": 324.8
  },
  "luminance": 0.35052
}

Semantic roles & 50–950 ramp

primary
#D87FDE
secondary
#D0EBCE
accent
#C71F29
background
#FEFAFE
surface
#FDF4FC
border
#D5CED5
text
#161016
muted
#847F84

Preview Lab

Preview with #D87FDE

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

Preview Lab → · Contrast checker → · Palette generator →

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