#D87DF8#D87DF8

#D87DF8 is a light, vivid purple. Relative luminance 0.360; OKLCH L 73.4% C 0.192 H 316.7°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#D87DF8
RGBrgb(216, 125, 248)
HSLhsl(284, 90%, 73%)
HSVhsv(284, 50%, 97%)
CMYKcmyk(12.9%, 49.6%, 0%, 2.7%)
CIE-LABlab(66.55, 54.65, -47.41)
CIE-LCHlch(66.55, 72.35, 319.06°)
OKLaboklab(73.44% 0.1398 -0.1317)
OKLCHoklch(73.44% 0.192 316.7)
XYZxyz(52.5933, 36.0452, 92.9757)
Luminance0.3604 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D87DF8 #9DF87D
analogous
#9A7DF8 #D87DF8 #F87DDB
triadic
#D87DF8 #F8D87D #7DF8D8
tetradic
#D87DF8 #F89A7D #9DF87D #7DDBF8
square
#D87DF8 #F89A7D #9DF87D #7DDBF8
split-complementary
#D87DF8 #DBF87D #7DF89A
monochromatic
#B30DEE #C743F5 #D87DF8 #E9B7FB #F6E2FD

Accessibility & contrast

On white

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

On black

8.21
#D87DF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D87DF8
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D87DF8#FFFFFF#000000##000000
##D87DF81.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#649CFC
Deuteranopia (green-blind)
#80A5F5
Tritanopia (blue-blind)
#D78FAF
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #d87df8;
/* rgb */ color: rgb(216, 125, 248);
/* oklch */ color: oklch(73.4% 0.192 316.7);
Tailwind
colors: {
  custom: {
    50: '#e6a5fb',
    500: '#d87df8',
    950: '#000000',
  },
}
SCSS
$custom: #d87df8;
$custom-light: #e6a5fb;
$custom-dark: #000000;
JSON
{
  "hex": "#d87df8",
  "rgb": {
    "r": 216,
    "g": 125,
    "b": 248
  },
  "hsl": {
    "h": 284.39,
    "s": 89.781,
    "l": 73.137
  },
  "oklch": {
    "l": 0.7344,
    "c": 0.19205,
    "h": 316.7
  },
  "luminance": 0.36043
}

Semantic roles & 50–950 ramp

primary
#D87DF8
secondary
#DEF6D5
accent
#E6003C
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D87DF8

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

Preview Lab → · Contrast checker → · Palette generator →

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