#D87DF9#D87DF9

#D87DF9 is a light, vivid purple. Relative luminance 0.361; OKLCH L 73.5% C 0.193 H 316.4°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#D87DF9
RGBrgb(216, 125, 249)
HSLhsl(284, 91%, 73%)
HSVhsv(284, 50%, 98%)
CMYKcmyk(13.3%, 49.8%, 0%, 2.4%)
CIE-LABlab(66.60, 54.85, -47.88)
CIE-LCHlch(66.60, 72.81, 318.88°)
OKLaboklab(73.49% 0.1399 -0.1331)
OKLCHoklch(73.49% 0.193 316.4)
XYZxyz(52.7489, 36.1074, 93.7949)
Luminance0.3611 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D87DF9 #9EF97D
analogous
#9A7DF9 #D87DF9 #F97DDC
triadic
#D87DF9 #F9D87D #7DF9D8
tetradic
#D87DF9 #F99A7D #9EF97D #7DDCF9
square
#D87DF9 #F99A7D #9EF97D #7DDCF9
split-complementary
#D87DF9 #DCF97D #7DF99A
monochromatic
#B30BF0 #C642F6 #D87DF9 #EAB7FC #F6E2FE

Accessibility & contrast

On white

2.55
#D87DF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#D87DF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D87DF9
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D87DF9#FFFFFF#000000##000000
##D87DF91.002.558.228.22
#FFFFFF2.551.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#649CFD
Deuteranopia (green-blind)
#7FA5F6
Tritanopia (blue-blind)
#D790B0
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #d87df9;
/* rgb */ color: rgb(216, 125, 249);
/* oklch */ color: oklch(73.5% 0.193 316.4);
Tailwind
colors: {
  custom: {
    50: '#e6a5fc',
    500: '#d87df9',
    950: '#000000',
  },
}
SCSS
$custom: #d87df9;
$custom-light: #e6a5fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d87df9",
  "rgb": {
    "r": 216,
    "g": 125,
    "b": 249
  },
  "hsl": {
    "h": 284.032,
    "s": 91.176,
    "l": 73.333
  },
  "oklch": {
    "l": 0.73491,
    "c": 0.19309,
    "h": 316.4
  },
  "luminance": 0.36106
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D87DF9

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

Preview Lab → · Contrast checker → · Palette generator →

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