#D888FE#D888FE

#D888FE is a light, vivid purple. Relative luminance 0.394; OKLCH L 75.4% C 0.181 H 314.0°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#D888FE
RGBrgb(216, 136, 254)
HSLhsl(281, 98%, 76%)
HSVhsv(281, 46%, 100%)
CMYKcmyk(15%, 46.5%, 0%, 0.4%)
CIE-LABlab(69.01, 50.24, -46.82)
CIE-LCHlch(69.01, 68.67, 317.02°)
OKLaboklab(75.36% 0.1257 -0.1301)
OKLCHoklch(75.36% 0.181 314)
XYZxyz(55.0095, 39.3644, 98.4470)
Luminance0.3936 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D888FE #AEFE88
analogous
#9D88FE #D888FE #FE88E9
triadic
#D888FE #FED888 #88FED8
tetradic
#D888FE #FE9D88 #AEFE88 #88E9FE
square
#D888FE #FE9D88 #AEFE88 #88E9FE
split-complementary
#D888FE #E9FE88 #88FE9D
monochromatic
#B00FFD #C44BFD #D888FE #ECC5FF #F5E1FF

Accessibility & contrast

On white

2.37
#D888FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.87
#D888FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D888FE
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D888FE#FFFFFF#000000##000000
##D888FE1.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A4FF
Deuteranopia (green-blind)
#86ABFB
Tritanopia (blue-blind)
#D59AB7
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #d888fe;
/* rgb */ color: rgb(216, 136, 254);
/* oklch */ color: oklch(75.4% 0.181 314.0);
Tailwind
colors: {
  custom: {
    50: '#e6adff',
    500: '#d888fe',
    950: '#000000',
  },
}
SCSS
$custom: #d888fe;
$custom-light: #e6adff;
$custom-dark: #000000;
JSON
{
  "hex": "#d888fe",
  "rgb": {
    "r": 216,
    "g": 136,
    "b": 254
  },
  "hsl": {
    "h": 280.678,
    "s": 98.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.75358,
    "c": 0.18091,
    "h": 314
  },
  "luminance": 0.39363
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D888FE

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

Preview Lab → · Contrast checker → · Palette generator →

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