#D87EFF#D87EFF

#D87EFF is a light, vivid purple. Relative luminance 0.367; OKLCH L 73.9% C 0.198 H 314.7°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#D87EFF
RGBrgb(216, 126, 255)
HSLhsl(282, 100%, 75%)
HSVhsv(282, 51%, 100%)
CMYKcmyk(15.3%, 50.6%, 0%, 0%)
CIE-LABlab(67.08, 55.56, -50.41)
CIE-LCHlch(67.08, 75.02, 317.78°)
OKLaboklab(73.94% 0.1392 -0.1404)
OKLCHoklch(73.94% 0.198 314.7)
XYZxyz(53.8269, 36.7421, 98.8448)
Luminance0.3674 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D87EFF #A5FF7E
analogous
#977EFF #D87EFF #FF7EE6
triadic
#D87EFF #FFD87E #7EFFD8
tetradic
#D87EFF #FF977E #A5FF7E #7EE6FF
square
#D87EFF #FF977E #A5FF7E #7EE6FF
split-complementary
#D87EFF #E6FF7E #7EFF97
monochromatic
#B304FF #C541FF #D87EFF #EBBBFF #F6E0FF

Accessibility & contrast

On white

2.52
#D87EFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.35
#D87EFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D87EFF
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D87EFF#FFFFFF#000000##000000
##D87EFF1.002.528.358.35
#FFFFFF2.521.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#619EFF
Deuteranopia (green-blind)
#7DA6FC
Tritanopia (blue-blind)
#D592B3
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #d87eff;
/* rgb */ color: rgb(216, 126, 255);
/* oklch */ color: oklch(73.9% 0.198 314.7);
Tailwind
colors: {
  custom: {
    50: '#e6a6ff',
    500: '#d87eff',
    950: '#000000',
  },
}
SCSS
$custom: #d87eff;
$custom-light: #e6a6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d87eff",
  "rgb": {
    "r": 216,
    "g": 126,
    "b": 255
  },
  "hsl": {
    "h": 281.86,
    "s": 100,
    "l": 74.706
  },
  "oklch": {
    "l": 0.7394,
    "c": 0.19772,
    "h": 314.7
  },
  "luminance": 0.36741
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D87EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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