#D87DEB#D87DEB

#D87DEB is a light, vivid purple. Relative luminance 0.353; OKLCH L 72.8% C 0.179 H 320.5°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#D87DEB
RGBrgb(216, 125, 235)
HSLhsl(290, 73%, 71%)
HSVhsv(290, 47%, 92%)
CMYKcmyk(8.1%, 46.8%, 0%, 7.8%)
CIE-LABlab(65.96, 52.10, -41.19)
CIE-LCHlch(65.96, 66.42, 321.67°)
OKLaboklab(72.8% 0.138 -0.1138)
OKLCHoklch(72.8% 0.179 320.5)
XYZxyz(50.6461, 35.2663, 82.7204)
Luminance0.3526 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D87DEB #90EB7D
analogous
#A17DEB #D87DEB #EB7DC7
triadic
#D87DEB #EBD87D #7DEBD8
tetradic
#D87DEB #EBA17D #90EB7D #7DC7EB
square
#D87DEB #EBA17D #90EB7D #7DC7EB
split-complementary
#D87DEB #C7EB7D #7DEBA1
monochromatic
#B020CE #C848E3 #D87DEB #E8B2F3 #F7E4FB

Accessibility & contrast

On white

2.61
#D87DEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.05
#D87DEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D87DEB
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D87DEB#FFFFFF#000000##000000
##D87DEB1.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9AEF
Deuteranopia (green-blind)
#86A4E8
Tritanopia (blue-blind)
#DA8BA9
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d87deb;
/* rgb */ color: rgb(216, 125, 235);
/* oklch */ color: oklch(72.8% 0.179 320.5);
Tailwind
colors: {
  custom: {
    50: '#e6a5f2',
    500: '#d87deb',
    950: '#000000',
  },
}
SCSS
$custom: #d87deb;
$custom-light: #e6a5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d87deb",
  "rgb": {
    "r": 216,
    "g": 125,
    "b": 235
  },
  "hsl": {
    "h": 289.636,
    "s": 73.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.728,
    "c": 0.17888,
    "h": 320.5
  },
  "luminance": 0.35264
}

Semantic roles & 50–950 ramp

primary
#D87DEB
secondary
#D8F1D3
accent
#D51032
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D87DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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