#D87BFC#D87BFC

#D87BFC is a light, vivid purple. Relative luminance 0.358; OKLCH L 73.4% C 0.199 H 315.8°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#D87BFC
RGBrgb(216, 123, 252)
HSLhsl(283, 96%, 74%)
HSVhsv(283, 51%, 99%)
CMYKcmyk(14.3%, 51.2%, 0%, 1.2%)
CIE-LABlab(66.36, 56.45, -49.90)
CIE-LCHlch(66.36, 75.35, 318.52°)
OKLaboklab(73.36% 0.1428 -0.1389)
OKLCHoklch(73.36% 0.199 315.8)
XYZxyz(52.9699, 35.7947, 96.1954)
Luminance0.3579 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D87BFC #9FFC7B
analogous
#977BFC #D87BFC #FC7BDF
triadic
#D87BFC #FCD87B #7BFCD8
tetradic
#D87BFC #FC977B #9FFC7B #7BDFFC
square
#D87BFC #FC977B #9FFC7B #7BDFFC
split-complementary
#D87BFC #DFFC7B #7BFC97
monochromatic
#B406F7 #C63FFB #D87BFC #EAB7FD #F6E1FE

Accessibility & contrast

On white

2.57
#D87BFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.16
#D87BFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D87BFC
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D87BFC#FFFFFF#000000##000000
##D87BFC1.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F9CFF
Deuteranopia (green-blind)
#7CA4F9
Tritanopia (blue-blind)
#D68FB0
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #d87bfc;
/* rgb */ color: rgb(216, 123, 252);
/* oklch */ color: oklch(73.4% 0.199 315.8);
Tailwind
colors: {
  custom: {
    50: '#e6a4fe',
    500: '#d87bfc',
    950: '#000000',
  },
}
SCSS
$custom: #d87bfc;
$custom-light: #e6a4fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d87bfc",
  "rgb": {
    "r": 216,
    "g": 123,
    "b": 252
  },
  "hsl": {
    "h": 283.256,
    "s": 95.556,
    "l": 73.529
  },
  "oklch": {
    "l": 0.73361,
    "c": 0.19927,
    "h": 315.8
  },
  "luminance": 0.35793
}

Semantic roles & 50–950 ramp

primary
#D87BFC
secondary
#DEF7D4
accent
#E60040
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #D87BFC

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

Preview Lab → · Contrast checker → · Palette generator →

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