#D87DFB#D87DFB

#D87DFB is a light, vivid purple. Relative luminance 0.362; OKLCH L 73.6% C 0.195 H 315.9°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#D87DFB
RGBrgb(216, 125, 251)
HSLhsl(283, 94%, 74%)
HSVhsv(283, 50%, 98%)
CMYKcmyk(13.9%, 50.2%, 0%, 1.6%)
CIE-LABlab(66.70, 55.25, -48.83)
CIE-LCHlch(66.70, 73.73, 318.53°)
OKLaboklab(73.59% 0.1401 -0.1358)
OKLCHoklch(73.59% 0.195 315.9)
XYZxyz(53.0625, 36.2328, 95.4465)
Luminance0.3623 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D87DFB #A0FB7D
analogous
#997DFB #D87DFB #FB7DDF
triadic
#D87DFB #FBD87D #7DFBD8
tetradic
#D87DFB #FB997D #A0FB7D #7DDFFB
square
#D87DFB #FB997D #A0FB7D #7DDFFB
split-complementary
#D87DFB #DFFB7D #7DFB99
monochromatic
#B408F6 #C642F9 #D87DFB #EAB8FD #F6E1FE

Accessibility & contrast

On white

2.55
#D87DFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.25
#D87DFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D87DFB
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D87DFB#FFFFFF#000000##000000
##D87DFB1.002.558.258.25
#FFFFFF2.551.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#629DFF
Deuteranopia (green-blind)
#7EA5F8
Tritanopia (blue-blind)
#D690B1
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #d87dfb;
/* rgb */ color: rgb(216, 125, 251);
/* oklch */ color: oklch(73.6% 0.195 315.9);
Tailwind
colors: {
  custom: {
    50: '#e6a5fd',
    500: '#d87dfb',
    950: '#000000',
  },
}
SCSS
$custom: #d87dfb;
$custom-light: #e6a5fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d87dfb",
  "rgb": {
    "r": 216,
    "g": 125,
    "b": 251
  },
  "hsl": {
    "h": 283.333,
    "s": 94.03,
    "l": 73.725
  },
  "oklch": {
    "l": 0.73592,
    "c": 0.19514,
    "h": 315.9
  },
  "luminance": 0.36231
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D87DFB

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

Preview Lab → · Contrast checker → · Palette generator →

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