#D87BF9#D87BF9

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

Color values

HEX#D87BF9
RGBrgb(216, 123, 249)
HSLhsl(284, 91%, 73%)
HSVhsv(284, 51%, 98%)
CMYKcmyk(13.3%, 50.6%, 0%, 2.4%)
CIE-LABlab(66.22, 55.85, -48.49)
CIE-LCHlch(66.22, 73.96, 319.04°)
OKLaboklab(73.21% 0.1425 -0.1348)
OKLCHoklch(73.21% 0.196 316.6)
XYZxyz(52.4982, 35.6061, 93.7114)
Luminance0.3560 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D87BF9 #9CF97B
analogous
#997BF9 #D87BF9 #F97BDB
triadic
#D87BF9 #F9D87B #7BF9D8
tetradic
#D87BF9 #F9997B #9CF97B #7BDBF9
square
#D87BF9 #F9997B #9CF97B #7BDBF9
split-complementary
#D87BF9 #DBF97B #7BF999
monochromatic
#B30BEF #C740F6 #D87BF9 #E9B6FC #F6E2FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D87BF9#FFFFFF#000000##000000
##D87BF91.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)
#619BFD
Deuteranopia (green-blind)
#7DA4F6
Tritanopia (blue-blind)
#D78EAF
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #d87bf9;
/* rgb */ color: rgb(216, 123, 249);
/* oklch */ color: oklch(73.2% 0.196 316.6);
Tailwind
colors: {
  custom: {
    50: '#e6a4fc',
    500: '#d87bf9',
    950: '#000000',
  },
}
SCSS
$custom: #d87bf9;
$custom-light: #e6a4fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d87bf9",
  "rgb": {
    "r": 216,
    "g": 123,
    "b": 249
  },
  "hsl": {
    "h": 284.286,
    "s": 91.304,
    "l": 72.941
  },
  "oklch": {
    "l": 0.73207,
    "c": 0.19621,
    "h": 316.6
  },
  "luminance": 0.35604
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D87BF9

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

Preview Lab → · Contrast checker → · Palette generator →

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