#D87FDB#D87FDB

#D87FDB is a light, vivid purple. Relative luminance 0.349; OKLCH L 72.4% C 0.160 H 325.9°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#D87FDB
RGBrgb(216, 127, 219)
HSLhsl(298, 56%, 68%)
HSVhsv(298, 42%, 86%)
CMYKcmyk(1.4%, 42%, 0%, 14.1%)
CIE-LABlab(65.67, 48.07, -32.77)
CIE-LCHlch(65.67, 58.18, 325.72°)
OKLaboklab(72.36% 0.1324 -0.0896)
OKLCHoklch(72.36% 0.16 325.9)
XYZxyz(48.6934, 34.8944, 71.1745)
Luminance0.3489 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D87FDB #82DB7F
analogous
#AA7FDB #D87FDB #DB7FB0
triadic
#D87FDB #DBD87F #7FDBD8
tetradic
#D87FDB #DBAA7F #82DB7F #7FB0DB
square
#D87FDB #DBAA7F #82DB7F #7FB0DB
split-complementary
#D87FDB #B0DB7F #7FDBAA
monochromatic
#AA31AF #C94FCE #D87FDB #E7AFE8 #F5DFF6

Accessibility & contrast

On white

2.63
#D87FDB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.98
#D87FDB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D87FDB
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D87FDB#FFFFFF#000000##000000
##D87FDB1.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7798DE
Deuteranopia (green-blind)
#8FA3D8
Tritanopia (blue-blind)
#DC89A3
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #d87fdb;
/* rgb */ color: rgb(216, 127, 219);
/* oklch */ color: oklch(72.4% 0.160 325.9);
Tailwind
colors: {
  custom: {
    50: '#e6a6e6',
    500: '#d87fdb',
    950: '#000000',
  },
}
SCSS
$custom: #d87fdb;
$custom-light: #e6a6e6;
$custom-dark: #000000;
JSON
{
  "hex": "#d87fdb",
  "rgb": {
    "r": 216,
    "g": 127,
    "b": 219
  },
  "hsl": {
    "h": 298.043,
    "s": 56.098,
    "l": 67.843
  },
  "oklch": {
    "l": 0.7236,
    "c": 0.1599,
    "h": 325.9
  },
  "luminance": 0.34892
}

Semantic roles & 50–950 ramp

primary
#D87FDB
secondary
#CEE9CD
accent
#C42227
background
#FEFAFE
surface
#FCF4FC
border
#D5CED5
text
#161016
muted
#847F84

Preview Lab

Preview with #D87FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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