#D87FFE#D87FFE

#D87FFE is a light, vivid purple. Relative luminance 0.369; OKLCH L 74.0% C 0.195 H 314.9°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#D87FFE
RGBrgb(216, 127, 254)
HSLhsl(282, 98%, 75%)
HSVhsv(282, 50%, 100%)
CMYKcmyk(15%, 50%, 0%, 0.4%)
CIE-LABlab(67.23, 54.85, -49.63)
CIE-LCHlch(67.23, 73.97, 317.86°)
OKLaboklab(74.03% 0.1378 -0.1382)
OKLCHoklch(74.03% 0.195 314.9)
XYZxyz(53.7948, 36.9349, 98.0421)
Luminance0.3693 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D87FFE #A5FE7F
analogous
#987FFE #D87FFE #FE7FE5
triadic
#D87FFE #FED87F #7FFED8
tetradic
#D87FFE #FE987F #A5FE7F #7FE5FE
square
#D87FFE #FE987F #A5FE7F #7FE5FE
split-complementary
#D87FFE #E5FE7F #7FFE98
monochromatic
#B306FD #C542FE #D87FFE #EBBCFE #F6E1FF

Accessibility & contrast

On white

2.50
#D87FFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.39
#D87FFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D87FFE
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D87FFE#FFFFFF#000000##000000
##D87FFE1.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#639EFF
Deuteranopia (green-blind)
#7EA6FB
Tritanopia (blue-blind)
#D593B3
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #d87ffe;
/* rgb */ color: rgb(216, 127, 254);
/* oklch */ color: oklch(74.0% 0.195 314.9);
Tailwind
colors: {
  custom: {
    50: '#e6a7ff',
    500: '#d87ffe',
    950: '#000000',
  },
}
SCSS
$custom: #d87ffe;
$custom-light: #e6a7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d87ffe",
  "rgb": {
    "r": 216,
    "g": 127,
    "b": 254
  },
  "hsl": {
    "h": 282.047,
    "s": 98.45,
    "l": 74.706
  },
  "oklch": {
    "l": 0.74032,
    "c": 0.19513,
    "h": 314.9
  },
  "luminance": 0.36933
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D87FFE

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

Preview Lab → · Contrast checker → · Palette generator →

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