#D87DF0#D87DF0

#D87DF0 is a light, vivid purple. Relative luminance 0.356; OKLCH L 73.0% C 0.184 H 319.0°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#D87DF0
RGBrgb(216, 125, 240)
HSLhsl(287, 79%, 72%)
HSVhsv(287, 48%, 94%)
CMYKcmyk(10%, 47.9%, 0%, 5.9%)
CIE-LABlab(66.18, 53.07, -43.59)
CIE-LCHlch(66.18, 68.68, 320.60°)
OKLaboklab(73.04% 0.1388 -0.1207)
OKLCHoklch(73.04% 0.184 319)
XYZxyz(51.3786, 35.5593, 86.5784)
Luminance0.3556 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D87DF0 #95F07D
analogous
#9F7DF0 #D87DF0 #F07DCF
triadic
#D87DF0 #F0D87D #7DF0D8
tetradic
#D87DF0 #F09F7D #95F07D #7DCFF0
square
#D87DF0 #F09F7D #95F07D #7DCFF0
split-complementary
#D87DF0 #CFF07D #7DF09F
monochromatic
#B119DA #C846EA #D87DF0 #E8B4F6 #F7E4FC

Accessibility & contrast

On white

2.59
#D87DF0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.11
#D87DF0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D87DF0
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D87DF0#FFFFFF#000000##000000
##D87DF01.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#699BF4
Deuteranopia (green-blind)
#84A4ED
Tritanopia (blue-blind)
#D98DAB
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #d87df0;
/* rgb */ color: rgb(216, 125, 240);
/* oklch */ color: oklch(73.0% 0.184 319.0);
Tailwind
colors: {
  custom: {
    50: '#e6a5f5',
    500: '#d87df0',
    950: '#000000',
  },
}
SCSS
$custom: #d87df0;
$custom-light: #e6a5f5;
$custom-dark: #000000;
JSON
{
  "hex": "#d87df0",
  "rgb": {
    "r": 216,
    "g": 125,
    "b": 240
  },
  "hsl": {
    "h": 287.478,
    "s": 79.31,
    "l": 71.569
  },
  "oklch": {
    "l": 0.73042,
    "c": 0.1839,
    "h": 319
  },
  "luminance": 0.35557
}

Semantic roles & 50–950 ramp

primary
#D87DF0
secondary
#DCF3D6
accent
#DC0A36
background
#FEFAFF
surface
#FDF4FE
border
#D5CED6
text
#160F17
muted
#847F85

Preview Lab

Preview with #D87DF0

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

Preview Lab → · Contrast checker → · Palette generator →

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