#D887FA#D887FA

#D887FA is a light, vivid purple. Relative luminance 0.388; OKLCH L 75.0% C 0.178 H 315.2°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#D887FA
RGBrgb(216, 135, 250)
HSLhsl(282, 92%, 75%)
HSVhsv(282, 46%, 98%)
CMYKcmyk(13.6%, 46%, 0%, 2%)
CIE-LABlab(68.63, 49.94, -45.24)
CIE-LCHlch(68.63, 67.39, 317.83°)
OKLaboklab(75.01% 0.1265 -0.1255)
OKLCHoklch(75.01% 0.178 315.2)
XYZxyz(54.2355, 38.8305, 95.0620)
Luminance0.3883 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D887FA #A9FA87
analogous
#9E87FA #D887FA #FA87E2
triadic
#D887FA #FAD887 #87FAD8
tetradic
#D887FA #FA9E87 #A9FA87 #87E2FA
square
#D887FA #FA9E87 #A9FA87 #87E2FA
split-complementary
#D887FA #E2FA87 #87FA9E
monochromatic
#B211F5 #C54CF8 #D887FA #EBC2FC #F5E2FE

Accessibility & contrast

On white

2.40
#D887FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.77
#D887FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D887FA
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D887FA#FFFFFF#000000##000000
##D887FA1.002.408.778.77
#FFFFFF2.401.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A3FE
Deuteranopia (green-blind)
#87AAF7
Tritanopia (blue-blind)
#D698B5
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #d887fa;
/* rgb */ color: rgb(216, 135, 250);
/* oklch */ color: oklch(75.0% 0.178 315.2);
Tailwind
colors: {
  custom: {
    50: '#e6acfc',
    500: '#d887fa',
    950: '#000000',
  },
}
SCSS
$custom: #d887fa;
$custom-light: #e6acfc;
$custom-dark: #000000;
JSON
{
  "hex": "#d887fa",
  "rgb": {
    "r": 216,
    "g": 135,
    "b": 250
  },
  "hsl": {
    "h": 282.261,
    "s": 92,
    "l": 75.49
  },
  "oklch": {
    "l": 0.75011,
    "c": 0.17822,
    "h": 315.2
  },
  "luminance": 0.38829
}

Semantic roles & 50–950 ramp

primary
#D887FA
secondary
#DFF6D5
accent
#E60044
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #D887FA

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

Preview Lab → · Contrast checker → · Palette generator →

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