#D87FDD#D87FDD

#D87FDD is a light, vivid purple. Relative luminance 0.350; OKLCH L 72.4% C 0.162 H 325.2°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#D87FDD
RGBrgb(216, 127, 221)
HSLhsl(297, 58%, 68%)
HSVhsv(297, 43%, 87%)
CMYKcmyk(2.3%, 42.5%, 0%, 13.3%)
CIE-LABlab(65.75, 48.44, -33.75)
CIE-LCHlch(65.75, 59.04, 325.13°)
OKLaboklab(72.45% 0.1328 -0.0924)
OKLCHoklch(72.45% 0.162 325.2)
XYZxyz(48.9583, 35.0003, 72.5695)
Luminance0.3500 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D87FDD #84DD7F
analogous
#A97FDD #D87FDD #DD7FB3
triadic
#D87FDD #DDD87F #7FDDD8
tetradic
#D87FDD #DDA97F #84DD7F #7FB3DD
square
#D87FDD #DDA97F #84DD7F #7FB3DD
split-complementary
#D87FDD #B3DD7F #7FDDA9
monochromatic
#AB2FB2 #C94FD0 #D87FDD #E7AFEA #F5E0F7

Accessibility & contrast

On white

2.63
#D87FDD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.00
#D87FDD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D87FDD
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D87FDD#FFFFFF#000000##000000
##D87FDD1.002.638.008.00
#FFFFFF2.631.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7699E0
Deuteranopia (green-blind)
#8EA4DA
Tritanopia (blue-blind)
#DC89A4
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d87fdd;
/* rgb */ color: rgb(216, 127, 221);
/* oklch */ color: oklch(72.4% 0.162 325.2);
Tailwind
colors: {
  custom: {
    50: '#e6a6e8',
    500: '#d87fdd',
    950: '#000000',
  },
}
SCSS
$custom: #d87fdd;
$custom-light: #e6a6e8;
$custom-dark: #000000;
JSON
{
  "hex": "#d87fdd",
  "rgb": {
    "r": 216,
    "g": 127,
    "b": 221
  },
  "hsl": {
    "h": 296.809,
    "s": 58.025,
    "l": 68.235
  },
  "oklch": {
    "l": 0.72449,
    "c": 0.16182,
    "h": 325.2
  },
  "luminance": 0.34998
}

Semantic roles & 50–950 ramp

primary
#D87FDD
secondary
#CFEACE
accent
#C62029
background
#FEFAFE
surface
#FDF4FC
border
#D5CED5
text
#161016
muted
#847F84

Preview Lab

Preview with #D87FDD

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

Preview Lab → · Contrast checker → · Palette generator →

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