#D887F6#D887F6

#D887F6 is a light, vivid purple. Relative luminance 0.386; OKLCH L 74.8% C 0.174 H 316.4°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#D887F6
RGBrgb(216, 135, 246)
HSLhsl(284, 86%, 75%)
HSVhsv(284, 45%, 96%)
CMYKcmyk(12.2%, 45.1%, 0%, 3.5%)
CIE-LABlab(68.45, 49.13, -43.34)
CIE-LCHlch(68.45, 65.51, 318.59°)
OKLaboklab(74.82% 0.1259 -0.12)
OKLCHoklch(74.82% 0.174 316.4)
XYZxyz(53.6150, 38.5822, 91.7937)
Luminance0.3858 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D887F6 #A5F687
analogous
#A187F6 #D887F6 #F687DC
triadic
#D887F6 #F6D887 #87F6D8
tetradic
#D887F6 #F6A187 #A5F687 #87DCF6
square
#D887F6 #F6A187 #A5F687 #87DCF6
split-complementary
#D887F6 #DCF687 #87F6A1
monochromatic
#B315ED #C54EF2 #D887F6 #EBC0FA #F6E3FD

Accessibility & contrast

On white

2.41
#D887F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.72
#D887F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D887F6
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D887F6#FFFFFF#000000##000000
##D887F61.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A2FA
Deuteranopia (green-blind)
#89A9F3
Tritanopia (blue-blind)
#D797B3
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #d887f6;
/* rgb */ color: rgb(216, 135, 246);
/* oklch */ color: oklch(74.8% 0.174 316.4);
Tailwind
colors: {
  custom: {
    50: '#e6acf9',
    500: '#d887f6',
    950: '#000000',
  },
}
SCSS
$custom: #d887f6;
$custom-light: #e6acf9;
$custom-dark: #000000;
JSON
{
  "hex": "#d887f6",
  "rgb": {
    "r": 216,
    "g": 135,
    "b": 246
  },
  "hsl": {
    "h": 283.784,
    "s": 86.047,
    "l": 74.706
  },
  "oklch": {
    "l": 0.74817,
    "c": 0.17396,
    "h": 316.4
  },
  "luminance": 0.38581
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D887F6

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

Preview Lab → · Contrast checker → · Palette generator →

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