#D87BF7#D87BF7

#D87BF7 is a light, vivid purple. Relative luminance 0.355; OKLCH L 73.1% C 0.194 H 317.1°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#D87BF7
RGBrgb(216, 123, 247)
HSLhsl(285, 89%, 73%)
HSVhsv(285, 50%, 97%)
CMYKcmyk(12.6%, 50.2%, 0%, 3.1%)
CIE-LABlab(66.12, 55.46, -47.54)
CIE-LCHlch(66.12, 73.04, 319.39°)
OKLaboklab(73.11% 0.1423 -0.1321)
OKLCHoklch(73.11% 0.194 317.1)
XYZxyz(52.1879, 35.4820, 92.0773)
Luminance0.3548 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D87BF7 #9AF77B
analogous
#9A7BF7 #D87BF7 #F77BD8
triadic
#D87BF7 #F7D87B #7BF7D8
tetradic
#D87BF7 #F79A7B #9AF77B #7BD8F7
square
#D87BF7 #F79A7B #9AF77B #7BD8F7
split-complementary
#D87BF7 #D8F77B #7BF79A
monochromatic
#B30EE9 #C741F4 #D87BF7 #E9B5FA #F6E2FD

Accessibility & contrast

On white

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

On black

8.10
#D87BF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D87BF7
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D87BF7#FFFFFF#000000##000000
##D87BF71.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#629BFB
Deuteranopia (green-blind)
#7FA4F4
Tritanopia (blue-blind)
#D78DAE
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #d87bf7;
/* rgb */ color: rgb(216, 123, 247);
/* oklch */ color: oklch(73.1% 0.194 317.1);
Tailwind
colors: {
  custom: {
    50: '#e6a4fa',
    500: '#d87bf7',
    950: '#000000',
  },
}
SCSS
$custom: #d87bf7;
$custom-light: #e6a4fa;
$custom-dark: #000000;
JSON
{
  "hex": "#d87bf7",
  "rgb": {
    "r": 216,
    "g": 123,
    "b": 247
  },
  "hsl": {
    "h": 285,
    "s": 88.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.73105,
    "c": 0.19416,
    "h": 317.1
  },
  "luminance": 0.3548
}

Semantic roles & 50–950 ramp

primary
#D87BF7
secondary
#DEF5D6
accent
#E5003A
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D87BF7

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

Preview Lab → · Contrast checker → · Palette generator →

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