#D87FDF#D87FDF

#D87FDF is a light, vivid purple. Relative luminance 0.351; OKLCH L 72.5% C 0.164 H 324.4°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#D87FDF
RGBrgb(216, 127, 223)
HSLhsl(296, 60%, 69%)
HSVhsv(296, 43%, 87%)
CMYKcmyk(3.1%, 43%, 0%, 12.5%)
CIE-LABlab(65.83, 48.81, -34.74)
CIE-LCHlch(65.83, 59.91, 324.56°)
OKLaboklab(72.54% 0.1332 -0.0953)
OKLCHoklch(72.54% 0.164 324.4)
XYZxyz(49.2263, 35.1075, 73.9812)
Luminance0.3510 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D87FDF #86DF7F
analogous
#A87FDF #D87FDF #DF7FB6
triadic
#D87FDF #DFD87F #7FDFD8
tetradic
#D87FDF #DFA87F #86DF7F #7FB6DF
square
#D87FDF #DFA87F #86DF7F #7FB6DF
split-complementary
#D87FDF #B6DF7F #7FDFA8
monochromatic
#AC2EB6 #C94ED3 #D87FDF #E7B0EB #F6E1F7

Accessibility & contrast

On white

2.62
#D87FDF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#D87FDF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D87FDF
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D87FDF#FFFFFF#000000##000000
##D87FDF1.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7599E2
Deuteranopia (green-blind)
#8DA4DC
Tritanopia (blue-blind)
#DC8AA5
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d87fdf;
/* rgb */ color: rgb(216, 127, 223);
/* oklch */ color: oklch(72.5% 0.164 324.4);
Tailwind
colors: {
  custom: {
    50: '#e6a6e9',
    500: '#d87fdf',
    950: '#000000',
  },
}
SCSS
$custom: #d87fdf;
$custom-light: #e6a6e9;
$custom-dark: #000000;
JSON
{
  "hex": "#d87fdf",
  "rgb": {
    "r": 216,
    "g": 127,
    "b": 223
  },
  "hsl": {
    "h": 295.625,
    "s": 60,
    "l": 68.627
  },
  "oklch": {
    "l": 0.72538,
    "c": 0.16375,
    "h": 324.4
  },
  "luminance": 0.35105
}

Semantic roles & 50–950 ramp

primary
#D87FDF
secondary
#D1EBCF
accent
#C81E2A
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161016
muted
#847F84

Preview Lab

Preview with #D87FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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