#D87BF8#D87BF8

#D87BF8 is a light, vivid purple. Relative luminance 0.355; OKLCH L 73.2% C 0.195 H 316.9°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#D87BF8
RGBrgb(216, 123, 248)
HSLhsl(285, 90%, 73%)
HSVhsv(285, 50%, 97%)
CMYKcmyk(12.9%, 50.4%, 0%, 2.7%)
CIE-LABlab(66.17, 55.65, -48.01)
CIE-LCHlch(66.17, 73.50, 319.21°)
OKLaboklab(73.16% 0.1424 -0.1335)
OKLCHoklch(73.16% 0.195 316.9)
XYZxyz(52.3427, 35.5439, 92.8921)
Luminance0.3554 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D87BF8 #9BF87B
analogous
#997BF8 #D87BF8 #F87BD9
triadic
#D87BF8 #F8D87B #7BF8D8
tetradic
#D87BF8 #F8997B #9BF87B #7BD9F8
square
#D87BF8 #F8997B #9BF87B #7BD9F8
split-complementary
#D87BF8 #D9F87B #7BF899
monochromatic
#B30DEC #C741F5 #D87BF8 #E9B5FB #F6E2FD

Accessibility & contrast

On white

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

On black

8.11
#D87BF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D87BF8
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D87BF8#FFFFFF#000000##000000
##D87BF81.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#619BFC
Deuteranopia (green-blind)
#7EA4F5
Tritanopia (blue-blind)
#D78EAE
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #d87bf8;
/* rgb */ color: rgb(216, 123, 248);
/* oklch */ color: oklch(73.2% 0.195 316.9);
Tailwind
colors: {
  custom: {
    50: '#e6a4fb',
    500: '#d87bf8',
    950: '#000000',
  },
}
SCSS
$custom: #d87bf8;
$custom-light: #e6a4fb;
$custom-dark: #000000;
JSON
{
  "hex": "#d87bf8",
  "rgb": {
    "r": 216,
    "g": 123,
    "b": 248
  },
  "hsl": {
    "h": 284.64,
    "s": 89.928,
    "l": 72.745
  },
  "oklch": {
    "l": 0.73156,
    "c": 0.19519,
    "h": 316.9
  },
  "luminance": 0.35542
}

Semantic roles & 50–950 ramp

primary
#D87BF8
secondary
#DEF6D5
accent
#E6003B
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D87BF8

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

Preview Lab → · Contrast checker → · Palette generator →

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