#D87DFC#D87DFC

#D87DFC is a light, vivid purple. Relative luminance 0.363; OKLCH L 73.6% C 0.196 H 315.6°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#D87DFC
RGBrgb(216, 125, 252)
HSLhsl(283, 95%, 74%)
HSVhsv(283, 50%, 99%)
CMYKcmyk(14.3%, 50.4%, 0%, 1.2%)
CIE-LABlab(66.75, 55.45, -49.30)
CIE-LCHlch(66.75, 74.20, 318.36°)
OKLaboklab(73.64% 0.1402 -0.1372)
OKLCHoklch(73.64% 0.196 315.6)
XYZxyz(53.2205, 36.2960, 96.2789)
Luminance0.3629 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D87DFC #A1FC7D
analogous
#997DFC #D87DFC #FC7DE1
triadic
#D87DFC #FCD87D #7DFCD8
tetradic
#D87DFC #FC997D #A1FC7D #7DE1FC
square
#D87DFC #FC997D #A1FC7D #7DE1FC
split-complementary
#D87DFC #E1FC7D #7DFC99
monochromatic
#B406F9 #C641FB #D87DFC #EAB9FD #F6E1FE

Accessibility & contrast

On white

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

On black

8.26
#D87DFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D87DFC
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D87DFC#FFFFFF#000000##000000
##D87DFC1.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#629DFF
Deuteranopia (green-blind)
#7DA5F9
Tritanopia (blue-blind)
#D690B1
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #d87dfc;
/* rgb */ color: rgb(216, 125, 252);
/* oklch */ color: oklch(73.6% 0.196 315.6);
Tailwind
colors: {
  custom: {
    50: '#e6a5fe',
    500: '#d87dfc',
    950: '#000000',
  },
}
SCSS
$custom: #d87dfc;
$custom-light: #e6a5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d87dfc",
  "rgb": {
    "r": 216,
    "g": 125,
    "b": 252
  },
  "hsl": {
    "h": 282.992,
    "s": 95.489,
    "l": 73.922
  },
  "oklch": {
    "l": 0.73644,
    "c": 0.19617,
    "h": 315.6
  },
  "luminance": 0.36294
}

Semantic roles & 50–950 ramp

primary
#D87DFC
secondary
#DEF7D4
accent
#E60041
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #D87DFC

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

Preview Lab → · Contrast checker → · Palette generator →

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