#D87DF4#D87DF4

#D87DF4 is a light, vivid purple. Relative luminance 0.358; OKLCH L 73.2% C 0.188 H 317.8°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#D87DF4
RGBrgb(216, 125, 244)
HSLhsl(286, 84%, 72%)
HSVhsv(286, 49%, 96%)
CMYKcmyk(11.5%, 48.8%, 0%, 4.3%)
CIE-LABlab(66.37, 53.86, -45.51)
CIE-LCHlch(66.37, 70.51, 319.80°)
OKLaboklab(73.24% 0.1393 -0.1262)
OKLCHoklch(73.24% 0.188 317.8)
XYZxyz(51.9794, 35.7996, 89.7423)
Luminance0.3580 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D87DF4 #99F47D
analogous
#9C7DF4 #D87DF4 #F47DD5
triadic
#D87DF4 #F4D87D #7DF4D8
tetradic
#D87DF4 #F49C7D #99F47D #7DD5F4
square
#D87DF4 #F49C7D #99F47D #7DD5F4
split-complementary
#D87DF4 #D5F47D #7DF49C
monochromatic
#B213E3 #C745EF #D87DF4 #E9B5F9 #F7E3FD

Accessibility & contrast

On white

2.57
#D87DF4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.16
#D87DF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D87DF4
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D87DF4#FFFFFF#000000##000000
##D87DF41.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#679BF8
Deuteranopia (green-blind)
#82A4F1
Tritanopia (blue-blind)
#D88EAD
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #d87df4;
/* rgb */ color: rgb(216, 125, 244);
/* oklch */ color: oklch(73.2% 0.188 317.8);
Tailwind
colors: {
  custom: {
    50: '#e6a5f8',
    500: '#d87df4',
    950: '#000000',
  },
}
SCSS
$custom: #d87df4;
$custom-light: #e6a5f8;
$custom-dark: #000000;
JSON
{
  "hex": "#d87df4",
  "rgb": {
    "r": 216,
    "g": 125,
    "b": 244
  },
  "hsl": {
    "h": 285.882,
    "s": 84.397,
    "l": 72.353
  },
  "oklch": {
    "l": 0.7324,
    "c": 0.18796,
    "h": 317.8
  },
  "luminance": 0.35798
}

Semantic roles & 50–950 ramp

primary
#D87DF4
secondary
#DEF5D6
accent
#E10538
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D87DF4

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

Preview Lab → · Contrast checker → · Palette generator →

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