#D87CF7#D87CF7

#D87CF7 is a light, vivid purple. Relative luminance 0.357; OKLCH L 73.2% C 0.193 H 317.1°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#D87CF7
RGBrgb(216, 124, 247)
HSLhsl(285, 88%, 73%)
HSVhsv(285, 50%, 97%)
CMYKcmyk(12.6%, 49.8%, 0%, 3.1%)
CIE-LABlab(66.31, 54.95, -47.24)
CIE-LCHlch(66.31, 72.47, 319.32°)
OKLaboklab(73.25% 0.141 -0.1312)
OKLCHoklch(73.25% 0.193 317.1)
XYZxyz(52.3126, 35.7314, 92.1188)
Luminance0.3573 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D87CF7 #9BF77C
analogous
#9A7CF7 #D87CF7 #F77CD8
triadic
#D87CF7 #F7D87C #7CF7D8
tetradic
#D87CF7 #F79A7C #9BF77C #7CD8F7
square
#D87CF7 #F79A7C #9BF77C #7CD8F7
split-complementary
#D87CF7 #D8F77C #7CF79A
monochromatic
#B30EEA #C742F3 #D87CF7 #E9B6FB #F6E2FD

Accessibility & contrast

On white

2.58
#D87CF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#D87CF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D87CF7
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D87CF7#FFFFFF#000000##000000
##D87CF71.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#649BFB
Deuteranopia (green-blind)
#7FA4F4
Tritanopia (blue-blind)
#D78EAE
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #d87cf7;
/* rgb */ color: rgb(216, 124, 247);
/* oklch */ color: oklch(73.2% 0.193 317.1);
Tailwind
colors: {
  custom: {
    50: '#e6a5fa',
    500: '#d87cf7',
    950: '#000000',
  },
}
SCSS
$custom: #d87cf7;
$custom-light: #e6a5fa;
$custom-dark: #000000;
JSON
{
  "hex": "#d87cf7",
  "rgb": {
    "r": 216,
    "g": 124,
    "b": 247
  },
  "hsl": {
    "h": 284.878,
    "s": 88.489,
    "l": 72.745
  },
  "oklch": {
    "l": 0.73247,
    "c": 0.1926,
    "h": 317.1
  },
  "luminance": 0.3573
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D87CF7

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

Preview Lab → · Contrast checker → · Palette generator →

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