#D87DFF#D87DFF

#D87DFF is a light, vivid purple. Relative luminance 0.365; OKLCH L 73.8% C 0.199 H 314.8°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#D87DFF
RGBrgb(216, 125, 255)
HSLhsl(282, 100%, 75%)
HSVhsv(282, 51%, 100%)
CMYKcmyk(15.3%, 51%, 0%, 0%)
CIE-LABlab(66.89, 56.06, -50.71)
CIE-LCHlch(66.89, 75.59, 317.87°)
OKLaboklab(73.8% 0.1405 -0.1413)
OKLCHoklch(73.8% 0.199 314.8)
XYZxyz(53.6997, 36.4877, 98.8024)
Luminance0.3649 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D87DFF #A4FF7D
analogous
#977DFF #D87DFF #FF7DE5
triadic
#D87DFF #FFD87D #7DFFD8
tetradic
#D87DFF #FF977D #A4FF7D #7DE5FF
square
#D87DFF #FF977D #A4FF7D #7DE5FF
split-complementary
#D87DFF #E5FF7D #7DFF97
monochromatic
#B303FF #C640FF #D87DFF #EABAFF #F6E0FF

Accessibility & contrast

On white

2.53
#D87DFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.30
#D87DFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D87DFF
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D87DFF#FFFFFF#000000##000000
##D87DFF1.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F9DFF
Deuteranopia (green-blind)
#7CA5FC
Tritanopia (blue-blind)
#D591B3
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #d87dff;
/* rgb */ color: rgb(216, 125, 255);
/* oklch */ color: oklch(73.8% 0.199 314.8);
Tailwind
colors: {
  custom: {
    50: '#e6a5ff',
    500: '#d87dff',
    950: '#000000',
  },
}
SCSS
$custom: #d87dff;
$custom-light: #e6a5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d87dff",
  "rgb": {
    "r": 216,
    "g": 125,
    "b": 255
  },
  "hsl": {
    "h": 282,
    "s": 100,
    "l": 74.51
  },
  "oklch": {
    "l": 0.73798,
    "c": 0.19927,
    "h": 314.8
  },
  "luminance": 0.36486
}

Semantic roles & 50–950 ramp

primary
#D87DFF
secondary
#DEF7D4
accent
#E60045
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161018
muted
#847F86

Preview Lab

Preview with #D87DFF

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

Preview Lab → · Contrast checker → · Palette generator →

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