#D87EFC#D87EFC

#D87EFC is a light, vivid purple. Relative luminance 0.365; OKLCH L 73.8% C 0.195 H 315.5°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#D87EFC
RGBrgb(216, 126, 252)
HSLhsl(283, 95%, 74%)
HSVhsv(283, 50%, 99%)
CMYKcmyk(14.3%, 50%, 0%, 1.2%)
CIE-LABlab(66.94, 54.95, -49.00)
CIE-LCHlch(66.94, 73.62, 318.28°)
OKLaboklab(73.79% 0.1389 -0.1363)
OKLCHoklch(73.79% 0.195 315.5)
XYZxyz(53.3477, 36.5505, 96.3213)
Luminance0.3655 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D87EFC #A2FC7E
analogous
#997EFC #D87EFC #FC7EE1
triadic
#D87EFC #FCD87E #7EFCD8
tetradic
#D87EFC #FC997E #A2FC7E #7EE1FC
square
#D87EFC #FC997E #A2FC7E #7EE1FC
split-complementary
#D87EFC #E1FC7E #7EFC99
monochromatic
#B406F9 #C642FB #D87EFC #EABAFD #F6E1FE

Accessibility & contrast

On white

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

On black

8.31
#D87EFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D87EFC
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D87EFC#FFFFFF#000000##000000
##D87EFC1.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#639DFF
Deuteranopia (green-blind)
#7EA6F9
Tritanopia (blue-blind)
#D691B2
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #d87efc;
/* rgb */ color: rgb(216, 126, 252);
/* oklch */ color: oklch(73.8% 0.195 315.5);
Tailwind
colors: {
  custom: {
    50: '#e6a6fe',
    500: '#d87efc',
    950: '#000000',
  },
}
SCSS
$custom: #d87efc;
$custom-light: #e6a6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d87efc",
  "rgb": {
    "r": 216,
    "g": 126,
    "b": 252
  },
  "hsl": {
    "h": 282.857,
    "s": 95.455,
    "l": 74.118
  },
  "oklch": {
    "l": 0.73786,
    "c": 0.19461,
    "h": 315.5
  },
  "luminance": 0.36549
}

Semantic roles & 50–950 ramp

primary
#D87EFC
secondary
#DEF7D4
accent
#E60042
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161018
muted
#847F86

Preview Lab

Preview with #D87EFC

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

Preview Lab → · Contrast checker → · Palette generator →

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