#D87EF0#D87EF0

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

Color values

HEX#D87EF0
RGBrgb(216, 126, 240)
HSLhsl(287, 79%, 72%)
HSVhsv(287, 48%, 94%)
CMYKcmyk(10%, 47.5%, 0%, 5.9%)
CIE-LABlab(66.38, 52.56, -43.29)
CIE-LCHlch(66.38, 68.09, 320.53°)
OKLaboklab(73.19% 0.1374 -0.1198)
OKLCHoklch(73.19% 0.182 318.9)
XYZxyz(51.5059, 35.8137, 86.6208)
Luminance0.3581 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D87EF0 #96F07E
analogous
#9F7EF0 #D87EF0 #F07ECF
triadic
#D87EF0 #F0D87E #7EF0D8
tetradic
#D87EF0 #F09F7E #96F07E #7ECFF0
square
#D87EF0 #F09F7E #96F07E #7ECFF0
split-complementary
#D87EF0 #CFF07E #7EF09F
monochromatic
#B219DA #C747EA #D87EF0 #E9B5F6 #F7E4FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D87EF0#FFFFFF#000000##000000
##D87EF01.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)
#6B9BF4
Deuteranopia (green-blind)
#85A5ED
Tritanopia (blue-blind)
#D98EAC
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #d87ef0;
/* rgb */ color: rgb(216, 126, 240);
/* oklch */ color: oklch(73.2% 0.182 318.9);
Tailwind
colors: {
  custom: {
    50: '#e6a6f5',
    500: '#d87ef0',
    950: '#000000',
  },
}
SCSS
$custom: #d87ef0;
$custom-light: #e6a6f5;
$custom-dark: #000000;
JSON
{
  "hex": "#d87ef0",
  "rgb": {
    "r": 216,
    "g": 126,
    "b": 240
  },
  "hsl": {
    "h": 287.368,
    "s": 79.167,
    "l": 71.765
  },
  "oklch": {
    "l": 0.73187,
    "c": 0.18229,
    "h": 318.9
  },
  "luminance": 0.35812
}

Semantic roles & 50–950 ramp

primary
#D87EF0
secondary
#DDF3D6
accent
#DB0A36
background
#FEFAFF
surface
#FDF4FE
border
#D5CED6
text
#161017
muted
#847F85

Preview Lab

Preview with #D87EF0

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

Preview Lab → · Contrast checker → · Palette generator →

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