#D87DF1#D87DF1

#D87DF1 is a light, vivid purple. Relative luminance 0.356; OKLCH L 73.1% C 0.185 H 318.7°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#D87DF1
RGBrgb(216, 125, 241)
HSLhsl(287, 81%, 72%)
HSVhsv(287, 48%, 95%)
CMYKcmyk(10.4%, 48.1%, 0%, 5.5%)
CIE-LABlab(66.23, 53.27, -44.07)
CIE-LCHlch(66.23, 69.14, 320.40°)
OKLaboklab(73.09% 0.1389 -0.1221)
OKLCHoklch(73.09% 0.185 318.7)
XYZxyz(51.5276, 35.6189, 87.3629)
Luminance0.3562 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D87DF1 #96F17D
analogous
#9E7DF1 #D87DF1 #F17DD0
triadic
#D87DF1 #F1D87D #7DF1D8
tetradic
#D87DF1 #F19E7D #96F17D #7DD0F1
square
#D87DF1 #F19E7D #96F17D #7DD0F1
split-complementary
#D87DF1 #D0F17D #7DF19E
monochromatic
#B218DC #C746EB #D87DF1 #E9B4F7 #F7E3FC

Accessibility & contrast

On white

2.59
#D87DF1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.12
#D87DF1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D87DF1
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D87DF1#FFFFFF#000000##000000
##D87DF11.002.598.128.12
#FFFFFF2.591.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#699BF5
Deuteranopia (green-blind)
#83A4EE
Tritanopia (blue-blind)
#D88DAC
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #d87df1;
/* rgb */ color: rgb(216, 125, 241);
/* oklch */ color: oklch(73.1% 0.185 318.7);
Tailwind
colors: {
  custom: {
    50: '#e6a5f6',
    500: '#d87df1',
    950: '#000000',
  },
}
SCSS
$custom: #d87df1;
$custom-light: #e6a5f6;
$custom-dark: #000000;
JSON
{
  "hex": "#d87df1",
  "rgb": {
    "r": 216,
    "g": 125,
    "b": 241
  },
  "hsl": {
    "h": 287.069,
    "s": 80.556,
    "l": 71.765
  },
  "oklch": {
    "l": 0.73091,
    "c": 0.18492,
    "h": 318.7
  },
  "luminance": 0.35617
}

Semantic roles & 50–950 ramp

primary
#D87DF1
secondary
#DDF4D6
accent
#DD0936
background
#FEFAFF
surface
#FDF4FE
border
#D5CED6
text
#160F17
muted
#847F85

Preview Lab

Preview with #D87DF1

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

Preview Lab → · Contrast checker → · Palette generator →

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