#D87BF0#D87BF0

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

Color values

HEX#D87BF0
RGBrgb(216, 123, 240)
HSLhsl(288, 80%, 71%)
HSVhsv(288, 49%, 94%)
CMYKcmyk(10%, 48.7%, 0%, 5.9%)
CIE-LABlab(65.79, 54.08, -44.20)
CIE-LCHlch(65.79, 69.85, 320.74°)
OKLaboklab(72.76% 0.1415 -0.1224)
OKLCHoklch(72.76% 0.187 319.1)
XYZxyz(51.1280, 35.0580, 86.4948)
Luminance0.3506 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D87BF0 #93F07B
analogous
#9D7BF0 #D87BF0 #F07BCD
triadic
#D87BF0 #F0D87B #7BF0D8
tetradic
#D87BF0 #F09D7B #93F07B #7BCDF0
square
#D87BF0 #F09D7B #93F07B #7BCDF0
split-complementary
#D87BF0 #CDF07B #7BF09D
monochromatic
#B119D8 #C844EA #D87BF0 #E8B2F6 #F7E4FC

Accessibility & contrast

On white

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

On black

8.01
#D87BF0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D87BF0
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D87BF0#FFFFFF#000000##000000
##D87BF01.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6799F4
Deuteranopia (green-blind)
#82A3ED
Tritanopia (blue-blind)
#D98BAB
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d87bf0;
/* rgb */ color: rgb(216, 123, 240);
/* oklch */ color: oklch(72.8% 0.187 319.1);
Tailwind
colors: {
  custom: {
    50: '#e6a4f5',
    500: '#d87bf0',
    950: '#000000',
  },
}
SCSS
$custom: #d87bf0;
$custom-light: #e6a4f5;
$custom-dark: #000000;
JSON
{
  "hex": "#d87bf0",
  "rgb": {
    "r": 216,
    "g": 123,
    "b": 240
  },
  "hsl": {
    "h": 287.692,
    "s": 79.592,
    "l": 71.176
  },
  "oklch": {
    "l": 0.72755,
    "c": 0.18709,
    "h": 319.1
  },
  "luminance": 0.35056
}

Semantic roles & 50–950 ramp

primary
#D87BF0
secondary
#DAF3D4
accent
#DC0A35
background
#FEFAFF
surface
#FDF4FE
border
#D5CED6
text
#160F17
muted
#847F85

Preview Lab

Preview with #D87BF0

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

Preview Lab → · Contrast checker → · Palette generator →

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