#D87BF5#D87BF5

#D87BF5 is a light, vivid purple. Relative luminance 0.354; OKLCH L 73.0% C 0.192 H 317.7°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#D87BF5
RGBrgb(216, 123, 245)
HSLhsl(286, 86%, 72%)
HSVhsv(286, 50%, 96%)
CMYKcmyk(11.8%, 49.8%, 0%, 3.9%)
CIE-LABlab(66.03, 55.06, -46.59)
CIE-LCHlch(66.03, 72.13, 319.76°)
OKLaboklab(73% 0.1421 -0.1293)
OKLCHoklch(73% 0.192 317.7)
XYZxyz(51.8810, 35.3592, 90.4606)
Luminance0.3536 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D87BF5 #98F57B
analogous
#9B7BF5 #D87BF5 #F57BD5
triadic
#D87BF5 #F5D87B #7BF5D8
tetradic
#D87BF5 #F59B7B #98F57B #7BD5F5
square
#D87BF5 #F59B7B #98F57B #7BD5F5
split-complementary
#D87BF5 #D5F57B #7BF59B
monochromatic
#B211E4 #C742F1 #D87BF5 #E9B4F9 #F7E3FD

Accessibility & contrast

On white

2.60
#D87BF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.07
#D87BF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D87BF5
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D87BF5#FFFFFF#000000##000000
##D87BF51.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#639AF9
Deuteranopia (green-blind)
#80A4F2
Tritanopia (blue-blind)
#D88DAD
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d87bf5;
/* rgb */ color: rgb(216, 123, 245);
/* oklch */ color: oklch(73.0% 0.192 317.7);
Tailwind
colors: {
  custom: {
    50: '#e6a4f9',
    500: '#d87bf5',
    950: '#000000',
  },
}
SCSS
$custom: #d87bf5;
$custom-light: #e6a4f9;
$custom-dark: #000000;
JSON
{
  "hex": "#d87bf5",
  "rgb": {
    "r": 216,
    "g": 123,
    "b": 245
  },
  "hsl": {
    "h": 285.738,
    "s": 85.915,
    "l": 72.157
  },
  "oklch": {
    "l": 0.73004,
    "c": 0.19213,
    "h": 317.7
  },
  "luminance": 0.35357
}

Semantic roles & 50–950 ramp

primary
#D87BF5
secondary
#DDF5D6
accent
#E20338
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D87BF5

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

Preview Lab → · Contrast checker → · Palette generator →

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