#D87CFF#D87CFF

#D87CFF is a light, highly saturated purple. Relative luminance 0.362; OKLCH L 73.7% C 0.201 H 314.9°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#D87CFF
RGBrgb(216, 124, 255)
HSLhsl(282, 100%, 74%)
HSVhsv(282, 51%, 100%)
CMYKcmyk(15.3%, 51.4%, 0%, 0%)
CIE-LABlab(66.70, 56.56, -51.01)
CIE-LCHlch(66.70, 76.17, 317.95°)
OKLaboklab(73.66% 0.1418 -0.1422)
OKLCHoklch(73.66% 0.201 314.9)
XYZxyz(53.5737, 36.2358, 98.7604)
Luminance0.3623 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D87CFF #A3FF7C
analogous
#977CFF #D87CFF #FF7CE5
triadic
#D87CFF #FFD87C #7CFFD8
tetradic
#D87CFF #FF977C #A3FF7C #7CE5FF
square
#D87CFF #FF977C #A3FF7C #7CE5FF
split-complementary
#D87CFF #E5FF7C #7CFF97
monochromatic
#B402FF #C63FFF #D87CFF #EAB9FF #F6E0FF

Accessibility & contrast

On white

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

On black

8.25
#D87CFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D87CFF
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D87CFF#FFFFFF#000000##000000
##D87CFF1.002.558.258.25
#FFFFFF2.551.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E9DFF
Deuteranopia (green-blind)
#7BA5FC
Tritanopia (blue-blind)
#D591B2
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #d87cff;
/* rgb */ color: rgb(216, 124, 255);
/* oklch */ color: oklch(73.7% 0.201 314.9);
Tailwind
colors: {
  custom: {
    50: '#e6a5ff',
    500: '#d87cff',
    950: '#000000',
  },
}
SCSS
$custom: #d87cff;
$custom-light: #e6a5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d87cff",
  "rgb": {
    "r": 216,
    "g": 124,
    "b": 255
  },
  "hsl": {
    "h": 282.137,
    "s": 100,
    "l": 74.314
  },
  "oklch": {
    "l": 0.73657,
    "c": 0.20081,
    "h": 314.9
  },
  "luminance": 0.36234
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D87CFF

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

Preview Lab → · Contrast checker → · Palette generator →

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