#D887FE#D887FE

#D887FE is a light, vivid purple. Relative luminance 0.391; OKLCH L 75.2% C 0.182 H 314.1°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#D887FE
RGBrgb(216, 135, 254)
HSLhsl(281, 98%, 76%)
HSVhsv(281, 47%, 100%)
CMYKcmyk(15%, 46.9%, 0%, 0.4%)
CIE-LABlab(68.81, 50.76, -47.14)
CIE-LCHlch(68.81, 69.27, 317.12°)
OKLaboklab(75.21% 0.1271 -0.131)
OKLCHoklch(75.21% 0.183 314.1)
XYZxyz(54.8694, 39.0840, 98.4003)
Luminance0.3908 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D887FE #ADFE87
analogous
#9D87FE #D887FE #FE87E9
triadic
#D887FE #FED887 #87FED8
tetradic
#D887FE #FE9D87 #ADFE87 #87E9FE
square
#D887FE #FE9D87 #ADFE87 #87E9FE
split-complementary
#D887FE #E9FE87 #87FE9D
monochromatic
#B10EFD #C44AFD #D887FE #ECC4FF #F5E1FF

Accessibility & contrast

On white

2.38
#D887FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.82
#D887FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D887FE
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D887FE#FFFFFF#000000##000000
##D887FE1.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6EA3FF
Deuteranopia (green-blind)
#85AAFB
Tritanopia (blue-blind)
#D599B7
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #d887fe;
/* rgb */ color: rgb(216, 135, 254);
/* oklch */ color: oklch(75.2% 0.182 314.1);
Tailwind
colors: {
  custom: {
    50: '#e6acff',
    500: '#d887fe',
    950: '#000000',
  },
}
SCSS
$custom: #d887fe;
$custom-light: #e6acff;
$custom-dark: #000000;
JSON
{
  "hex": "#d887fe",
  "rgb": {
    "r": 216,
    "g": 135,
    "b": 254
  },
  "hsl": {
    "h": 280.84,
    "s": 98.347,
    "l": 76.275
  },
  "oklch": {
    "l": 0.75207,
    "c": 0.1825,
    "h": 314.1
  },
  "luminance": 0.39083
}

Semantic roles & 50–950 ramp

primary
#D887FE
secondary
#DFF7D4
accent
#E60049
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161018
muted
#847F86

Preview Lab

Preview with #D887FE

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

Preview Lab → · Contrast checker → · Palette generator →

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