#D87FF4#D87FF4

#D87FF4 is a light, vivid purple. Relative luminance 0.363; OKLCH L 73.5% C 0.185 H 317.7°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#D87FF4
RGBrgb(216, 127, 244)
HSLhsl(286, 84%, 73%)
HSVhsv(286, 48%, 96%)
CMYKcmyk(11.5%, 48%, 0%, 4.3%)
CIE-LABlab(66.76, 52.84, -44.89)
CIE-LCHlch(66.76, 69.34, 319.65°)
OKLaboklab(73.53% 0.1366 -0.1245)
OKLCHoklch(73.53% 0.185 317.7)
XYZxyz(52.2351, 36.3111, 89.8276)
Luminance0.3631 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D87FF4 #9BF47F
analogous
#9D7FF4 #D87FF4 #F47FD6
triadic
#D87FF4 #F4D87F #7FF4D8
tetradic
#D87FF4 #F49D7F #9BF47F #7FD6F4
square
#D87FF4 #F49D7F #9BF47F #7FD6F4
split-complementary
#D87FF4 #D6F47F #7FF49D
monochromatic
#B314E5 #C747EF #D87FF4 #E9B7F9 #F6E3FD

Accessibility & contrast

On white

2.54
#D87FF4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.26
#D87FF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D87FF4
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D87FF4#FFFFFF#000000##000000
##D87FF41.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#699DF8
Deuteranopia (green-blind)
#83A5F1
Tritanopia (blue-blind)
#D890AE
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #d87ff4;
/* rgb */ color: rgb(216, 127, 244);
/* oklch */ color: oklch(73.5% 0.185 317.7);
Tailwind
colors: {
  custom: {
    50: '#e6a7f8',
    500: '#d87ff4',
    950: '#000000',
  },
}
SCSS
$custom: #d87ff4;
$custom-light: #e6a7f8;
$custom-dark: #000000;
JSON
{
  "hex": "#d87ff4",
  "rgb": {
    "r": 216,
    "g": 127,
    "b": 244
  },
  "hsl": {
    "h": 285.641,
    "s": 84.173,
    "l": 72.745
  },
  "oklch": {
    "l": 0.73529,
    "c": 0.18478,
    "h": 317.7
  },
  "luminance": 0.36309
}

Semantic roles & 50–950 ramp

primary
#D87FF4
secondary
#DEF5D6
accent
#E10539
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #D87FF4

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

Preview Lab → · Contrast checker → · Palette generator →

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