#D87DF7#D87DF7

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

Color values

HEX#D87DF7
RGBrgb(216, 125, 247)
HSLhsl(285, 88%, 73%)
HSVhsv(285, 49%, 97%)
CMYKcmyk(12.6%, 49.4%, 0%, 3.1%)
CIE-LABlab(66.51, 54.45, -46.93)
CIE-LCHlch(66.51, 71.89, 319.24°)
OKLaboklab(73.39% 0.1397 -0.1303)
OKLCHoklch(73.39% 0.191 317)
XYZxyz(52.4386, 35.9833, 92.1608)
Luminance0.3598 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D87DF7 #9CF77D
analogous
#9B7DF7 #D87DF7 #F77DD9
triadic
#D87DF7 #F7D87D #7DF7D8
tetradic
#D87DF7 #F79B7D #9CF77D #7DD9F7
square
#D87DF7 #F79B7D #9CF77D #7DD9F7
split-complementary
#D87DF7 #D9F77D #7DF79B
monochromatic
#B30EEB #C743F3 #D87DF7 #E9B7FB #F6E2FD

Accessibility & contrast

On white

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

On black

8.20
#D87DF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D87DF7
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D87DF7#FFFFFF#000000##000000
##D87DF71.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#659CFB
Deuteranopia (green-blind)
#80A5F4
Tritanopia (blue-blind)
#D78FAF
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #d87df7;
/* rgb */ color: rgb(216, 125, 247);
/* oklch */ color: oklch(73.4% 0.191 317.0);
Tailwind
colors: {
  custom: {
    50: '#e6a5fa',
    500: '#d87df7',
    950: '#000000',
  },
}
SCSS
$custom: #d87df7;
$custom-light: #e6a5fa;
$custom-dark: #000000;
JSON
{
  "hex": "#d87df7",
  "rgb": {
    "r": 216,
    "g": 125,
    "b": 247
  },
  "hsl": {
    "h": 284.754,
    "s": 88.406,
    "l": 72.941
  },
  "oklch": {
    "l": 0.7339,
    "c": 0.19103,
    "h": 317
  },
  "luminance": 0.35982
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D87DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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