#D87BF6#D87BF6

#D87BF6 is a light, vivid purple. Relative luminance 0.354; OKLCH L 73.1% C 0.193 H 317.4°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#D87BF6
RGBrgb(216, 123, 246)
HSLhsl(285, 87%, 72%)
HSVhsv(285, 50%, 96%)
CMYKcmyk(12.2%, 50%, 0%, 3.5%)
CIE-LABlab(66.07, 55.26, -47.07)
CIE-LCHlch(66.07, 72.59, 319.58°)
OKLaboklab(73.05% 0.1422 -0.1307)
OKLCHoklch(73.05% 0.193 317.4)
XYZxyz(52.0341, 35.4204, 91.2668)
Luminance0.3542 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D87BF6 #99F67B
analogous
#9B7BF6 #D87BF6 #F67BD6
triadic
#D87BF6 #F6D87B #7BF6D8
tetradic
#D87BF6 #F69B7B #99F67B #7BD6F6
square
#D87BF6 #F69B7B #99F67B #7BD6F6
split-complementary
#D87BF6 #D6F67B #7BF69B
monochromatic
#B210E7 #C742F2 #D87BF6 #E9B4FA #F7E2FD

Accessibility & contrast

On white

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

On black

8.08
#D87BF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D87BF6
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D87BF6#FFFFFF#000000##000000
##D87BF61.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#639BFA
Deuteranopia (green-blind)
#7FA4F3
Tritanopia (blue-blind)
#D78DAD
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #d87bf6;
/* rgb */ color: rgb(216, 123, 246);
/* oklch */ color: oklch(73.1% 0.193 317.4);
Tailwind
colors: {
  custom: {
    50: '#e6a4f9',
    500: '#d87bf6',
    950: '#000000',
  },
}
SCSS
$custom: #d87bf6;
$custom-light: #e6a4f9;
$custom-dark: #000000;
JSON
{
  "hex": "#d87bf6",
  "rgb": {
    "r": 216,
    "g": 123,
    "b": 246
  },
  "hsl": {
    "h": 285.366,
    "s": 87.234,
    "l": 72.353
  },
  "oklch": {
    "l": 0.73054,
    "c": 0.19315,
    "h": 317.4
  },
  "luminance": 0.35419
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D87BF6

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

Preview Lab → · Contrast checker → · Palette generator →

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