#D87BF1#D87BF1

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

Color values

HEX#D87BF1
RGBrgb(216, 123, 241)
HSLhsl(287, 81%, 71%)
HSVhsv(287, 49%, 95%)
CMYKcmyk(10.4%, 49%, 0%, 5.5%)
CIE-LABlab(65.84, 54.28, -44.68)
CIE-LCHlch(65.84, 70.30, 320.54°)
OKLaboklab(72.8% 0.1416 -0.1238)
OKLCHoklch(72.8% 0.188 318.8)
XYZxyz(51.2769, 35.1176, 87.2793)
Luminance0.3512 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D87BF1 #94F17B
analogous
#9D7BF1 #D87BF1 #F17BCF
triadic
#D87BF1 #F1D87B #7BF1D8
tetradic
#D87BF1 #F19D7B #94F17B #7BCFF1
square
#D87BF1 #F19D7B #94F17B #7BCFF1
split-complementary
#D87BF1 #CFF17B #7BF19D
monochromatic
#B117DA #C844EB #D87BF1 #E8B2F7 #F7E3FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D87BF1#FFFFFF#000000##000000
##D87BF11.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)
#669AF5
Deuteranopia (green-blind)
#82A3EE
Tritanopia (blue-blind)
#D88CAB
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d87bf1;
/* rgb */ color: rgb(216, 123, 241);
/* oklch */ color: oklch(72.8% 0.188 318.8);
Tailwind
colors: {
  custom: {
    50: '#e6a4f6',
    500: '#d87bf1',
    950: '#000000',
  },
}
SCSS
$custom: #d87bf1;
$custom-light: #e6a4f6;
$custom-dark: #000000;
JSON
{
  "hex": "#d87bf1",
  "rgb": {
    "r": 216,
    "g": 123,
    "b": 241
  },
  "hsl": {
    "h": 287.288,
    "s": 80.822,
    "l": 71.373
  },
  "oklch": {
    "l": 0.72804,
    "c": 0.18809,
    "h": 318.8
  },
  "luminance": 0.35116
}

Semantic roles & 50–950 ramp

primary
#D87BF1
secondary
#DBF3D5
accent
#DD0835
background
#FEFAFF
surface
#FDF4FE
border
#D5CED6
text
#160F17
muted
#847F85

Preview Lab

Preview with #D87BF1

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

Preview Lab → · Contrast checker → · Palette generator →

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