#D87CFD#D87CFD

#D87CFD is a light, vivid purple. Relative luminance 0.361; OKLCH L 73.6% C 0.199 H 315.4°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#D87CFD
RGBrgb(216, 124, 253)
HSLhsl(283, 97%, 74%)
HSVhsv(283, 51%, 99%)
CMYKcmyk(14.6%, 51%, 0%, 0.8%)
CIE-LABlab(66.60, 56.15, -50.07)
CIE-LCHlch(66.60, 75.24, 318.28°)
OKLaboklab(73.55% 0.1416 -0.1394)
OKLCHoklch(73.55% 0.199 315.4)
XYZxyz(53.2534, 36.1077, 97.0737)
Luminance0.3611 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D87CFD #A1FD7C
analogous
#987CFD #D87CFD #FD7CE1
triadic
#D87CFD #FDD87C #7CFDD8
tetradic
#D87CFD #FD987C #A1FD7C #7CE1FD
square
#D87CFD #FD987C #A1FD7C #7CE1FD
split-complementary
#D87CFD #E1FD7C #7CFD98
monochromatic
#B404FB #C640FC #D87CFD #EAB8FE #F6E1FF

Accessibility & contrast

On white

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

On black

8.22
#D87CFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D87CFD
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D87CFD#FFFFFF#000000##000000
##D87CFD1.002.558.228.22
#FFFFFF2.551.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F9CFF
Deuteranopia (green-blind)
#7CA5FA
Tritanopia (blue-blind)
#D690B1
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #d87cfd;
/* rgb */ color: rgb(216, 124, 253);
/* oklch */ color: oklch(73.6% 0.199 315.4);
Tailwind
colors: {
  custom: {
    50: '#e6a5fe',
    500: '#d87cfd',
    950: '#000000',
  },
}
SCSS
$custom: #d87cfd;
$custom-light: #e6a5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d87cfd",
  "rgb": {
    "r": 216,
    "g": 124,
    "b": 253
  },
  "hsl": {
    "h": 282.791,
    "s": 96.992,
    "l": 73.922
  },
  "oklch": {
    "l": 0.73553,
    "c": 0.19875,
    "h": 315.4
  },
  "luminance": 0.36106
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D87CFD

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

Preview Lab → · Contrast checker → · Palette generator →

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