#D87FF7#D87FF7

#D87FF7 is a light, vivid purple. Relative luminance 0.365; OKLCH L 73.7% C 0.188 H 316.8°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#D87FF7
RGBrgb(216, 127, 247)
HSLhsl(285, 88%, 73%)
HSVhsv(285, 49%, 97%)
CMYKcmyk(12.6%, 48.6%, 0%, 3.1%)
CIE-LABlab(66.90, 53.44, -46.32)
CIE-LCHlch(66.90, 70.72, 319.08°)
OKLaboklab(73.68% 0.137 -0.1286)
OKLCHoklch(73.68% 0.188 316.8)
XYZxyz(52.6943, 36.4947, 92.2461)
Luminance0.3649 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D87FF7 #9EF77F
analogous
#9C7FF7 #D87FF7 #F77FDA
triadic
#D87FF7 #F7D87F #7FF7D8
tetradic
#D87FF7 #F79C7F #9EF77F #7FDAF7
square
#D87FF7 #F79C7F #9EF77F #7FDAF7
split-complementary
#D87FF7 #DAF77F #7FF79C
monochromatic
#B30FED #C645F3 #D87FF7 #EAB9FB #F6E2FD

Accessibility & contrast

On white

2.53
#D87FF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.30
#D87FF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D87FF7
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D87FF7#FFFFFF#000000##000000
##D87FF71.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#689DFB
Deuteranopia (green-blind)
#82A6F4
Tritanopia (blue-blind)
#D790B0
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #d87ff7;
/* rgb */ color: rgb(216, 127, 247);
/* oklch */ color: oklch(73.7% 0.188 316.8);
Tailwind
colors: {
  custom: {
    50: '#e6a7fa',
    500: '#d87ff7',
    950: '#000000',
  },
}
SCSS
$custom: #d87ff7;
$custom-light: #e6a7fa;
$custom-dark: #000000;
JSON
{
  "hex": "#d87ff7",
  "rgb": {
    "r": 216,
    "g": 127,
    "b": 247
  },
  "hsl": {
    "h": 284.5,
    "s": 88.235,
    "l": 73.333
  },
  "oklch": {
    "l": 0.73678,
    "c": 0.18787,
    "h": 316.8
  },
  "luminance": 0.36493
}

Semantic roles & 50–950 ramp

primary
#D87FF7
secondary
#DEF5D6
accent
#E5013C
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #D87FF7

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

Preview Lab → · Contrast checker → · Palette generator →

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