#D87EF9#D87EF9

#D87EF9 is a light, vivid purple. Relative luminance 0.364; OKLCH L 73.6% C 0.192 H 316.3°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#D87EF9
RGBrgb(216, 126, 249)
HSLhsl(284, 91%, 74%)
HSVhsv(284, 49%, 98%)
CMYKcmyk(13.3%, 49.4%, 0%, 2.4%)
CIE-LABlab(66.80, 54.35, -47.58)
CIE-LCHlch(66.80, 72.23, 318.80°)
OKLaboklab(73.63% 0.1386 -0.1322)
OKLCHoklch(73.63% 0.192 316.3)
XYZxyz(52.8761, 36.3618, 93.8373)
Luminance0.3636 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D87EF9 #9FF97E
analogous
#9A7EF9 #D87EF9 #F97EDD
triadic
#D87EF9 #F9D87E #7EF9D8
tetradic
#D87EF9 #F99A7E #9FF97E #7EDDF9
square
#D87EF9 #F99A7E #9FF97E #7EDDF9
split-complementary
#D87EF9 #DDF97E #7EF99A
monochromatic
#B40BF1 #C644F6 #D87EF9 #EAB8FC #F6E2FE

Accessibility & contrast

On white

2.54
#D87EF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#D87EF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D87EF9
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D87EF9#FFFFFF#000000##000000
##D87EF91.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#659DFD
Deuteranopia (green-blind)
#80A5F6
Tritanopia (blue-blind)
#D790B0
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #d87ef9;
/* rgb */ color: rgb(216, 126, 249);
/* oklch */ color: oklch(73.6% 0.192 316.3);
Tailwind
colors: {
  custom: {
    50: '#e6a6fc',
    500: '#d87ef9',
    950: '#000000',
  },
}
SCSS
$custom: #d87ef9;
$custom-light: #e6a6fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d87ef9",
  "rgb": {
    "r": 216,
    "g": 126,
    "b": 249
  },
  "hsl": {
    "h": 283.902,
    "s": 91.111,
    "l": 73.529
  },
  "oklch": {
    "l": 0.73634,
    "c": 0.19152,
    "h": 316.3
  },
  "luminance": 0.3636
}

Semantic roles & 50–950 ramp

primary
#D87EF9
secondary
#DEF6D5
accent
#E6003E
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #D87EF9

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

Preview Lab → · Contrast checker → · Palette generator →

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