#D87CFE#D87CFE

#D87CFE is a light, vivid purple. Relative luminance 0.362; OKLCH L 73.6% C 0.200 H 315.2°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#D87CFE
RGBrgb(216, 124, 254)
HSLhsl(282, 98%, 74%)
HSVhsv(282, 51%, 100%)
CMYKcmyk(15%, 51.2%, 0%, 0.4%)
CIE-LABlab(66.65, 56.36, -50.54)
CIE-LCHlch(66.65, 75.70, 318.11°)
OKLaboklab(73.61% 0.1417 -0.1408)
OKLCHoklch(73.61% 0.2 315.2)
XYZxyz(53.4131, 36.1716, 97.9149)
Luminance0.3617 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D87CFE #A2FE7C
analogous
#977CFE #D87CFE #FE7CE3
triadic
#D87CFE #FED87C #7CFED8
tetradic
#D87CFE #FE977C #A2FE7C #7CE3FE
square
#D87CFE #FE977C #A2FE7C #7CE3FE
split-complementary
#D87CFE #E3FE7C #7CFE97
monochromatic
#B403FD #C63FFE #D87CFE #EAB9FE #F6E1FF

Accessibility & contrast

On white

2.55
#D87CFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#D87CFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D87CFE
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D87CFE#FFFFFF#000000##000000
##D87CFE1.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F9DFF
Deuteranopia (green-blind)
#7BA5FB
Tritanopia (blue-blind)
#D690B2
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #d87cfe;
/* rgb */ color: rgb(216, 124, 254);
/* oklch */ color: oklch(73.6% 0.200 315.2);
Tailwind
colors: {
  custom: {
    50: '#e6a5ff',
    500: '#d87cfe',
    950: '#000000',
  },
}
SCSS
$custom: #d87cfe;
$custom-light: #e6a5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d87cfe",
  "rgb": {
    "r": 216,
    "g": 124,
    "b": 254
  },
  "hsl": {
    "h": 282.462,
    "s": 98.485,
    "l": 74.118
  },
  "oklch": {
    "l": 0.73605,
    "c": 0.19979,
    "h": 315.2
  },
  "luminance": 0.3617
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D87CFE

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

Preview Lab → · Contrast checker → · Palette generator →

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