#D888FB#D888FB

#D888FB is a light, vivid purple. Relative luminance 0.392; OKLCH L 75.2% C 0.178 H 314.8°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#D888FB
RGBrgb(216, 136, 251)
HSLhsl(282, 93%, 76%)
HSVhsv(282, 46%, 98%)
CMYKcmyk(13.9%, 45.8%, 0%, 1.6%)
CIE-LABlab(68.88, 49.62, -45.40)
CIE-LCHlch(68.88, 67.26, 317.55°)
OKLaboklab(75.21% 0.1253 -0.126)
OKLCHoklch(75.21% 0.178 314.8)
XYZxyz(54.5329, 39.1737, 95.9367)
Luminance0.3917 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D888FB #ABFB88
analogous
#9E88FB #D888FB #FB88E4
triadic
#D888FB #FBD888 #88FBD8
tetradic
#D888FB #FB9E88 #ABFB88 #88E4FB
square
#D888FB #FB9E88 #ABFB88 #88E4FB
split-complementary
#D888FB #E4FB88 #88FB9E
monochromatic
#B112F7 #C54DF9 #D888FB #EBC3FD #F5E1FE

Accessibility & contrast

On white

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

On black

8.83
#D888FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D888FB
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D888FB#FFFFFF#000000##000000
##D888FB1.002.388.838.83
#FFFFFF2.381.0021.0021.00
#0000008.8321.001.001.00
##0000008.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A3FF
Deuteranopia (green-blind)
#87AAF8
Tritanopia (blue-blind)
#D699B6
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #d888fb;
/* rgb */ color: rgb(216, 136, 251);
/* oklch */ color: oklch(75.2% 0.178 314.8);
Tailwind
colors: {
  custom: {
    50: '#e6acfd',
    500: '#d888fb',
    950: '#000000',
  },
}
SCSS
$custom: #d888fb;
$custom-light: #e6acfd;
$custom-dark: #000000;
JSON
{
  "hex": "#d888fb",
  "rgb": {
    "r": 216,
    "g": 136,
    "b": 251
  },
  "hsl": {
    "h": 281.739,
    "s": 93.496,
    "l": 75.882
  },
  "oklch": {
    "l": 0.75211,
    "c": 0.17768,
    "h": 314.8
  },
  "luminance": 0.39172
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D888FB

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

Preview Lab → · Contrast checker → · Palette generator →

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