#D87FE0#D87FE0

#D87FE0 is a light, vivid purple. Relative luminance 0.352; OKLCH L 72.6% C 0.165 H 324.1°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#D87FE0
RGBrgb(216, 127, 224)
HSLhsl(295, 61%, 69%)
HSVhsv(295, 43%, 88%)
CMYKcmyk(3.6%, 43.3%, 0%, 12.2%)
CIE-LABlab(65.87, 49.00, -35.23)
CIE-LCHlch(65.87, 60.34, 324.29°)
OKLaboklab(72.58% 0.1334 -0.0967)
OKLCHoklch(72.58% 0.165 324.1)
XYZxyz(49.3615, 35.1616, 74.6933)
Luminance0.3516 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D87FE0 #87E07F
analogous
#A87FE0 #D87FE0 #E07FB8
triadic
#D87FE0 #E0D87F #7FE0D8
tetradic
#D87FE0 #E0A87F #87E07F #7FB8E0
square
#D87FE0 #E0A87F #87E07F #7FB8E0
split-complementary
#D87FE0 #B8E07F #7FE0A8
monochromatic
#AD2DB8 #C94ED4 #D87FE0 #E7B0EC #F6E2F8

Accessibility & contrast

On white

2.61
#D87FE0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.03
#D87FE0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D87FE0
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D87FE0#FFFFFF#000000##000000
##D87FE01.002.618.038.03
#FFFFFF2.611.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7499E3
Deuteranopia (green-blind)
#8DA4DD
Tritanopia (blue-blind)
#DC8AA5
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d87fe0;
/* rgb */ color: rgb(216, 127, 224);
/* oklch */ color: oklch(72.6% 0.165 324.1);
Tailwind
colors: {
  custom: {
    50: '#e6a6ea',
    500: '#d87fe0',
    950: '#000000',
  },
}
SCSS
$custom: #d87fe0;
$custom-light: #e6a6ea;
$custom-dark: #000000;
JSON
{
  "hex": "#d87fe0",
  "rgb": {
    "r": 216,
    "g": 127,
    "b": 224
  },
  "hsl": {
    "h": 295.052,
    "s": 61.006,
    "l": 68.824
  },
  "oklch": {
    "l": 0.72583,
    "c": 0.16472,
    "h": 324.1
  },
  "luminance": 0.35159
}

Semantic roles & 50–950 ramp

primary
#D87FE0
secondary
#D1ECCF
accent
#C91D2B
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161016
muted
#847F84

Preview Lab

Preview with #D87FE0

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

Preview Lab → · Contrast checker → · Palette generator →

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