#D888FC#D888FC

#D888FC is a light, vivid purple. Relative luminance 0.392; OKLCH L 75.3% C 0.179 H 314.6°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#D888FC
RGBrgb(216, 136, 252)
HSLhsl(281, 95%, 76%)
HSVhsv(281, 46%, 99%)
CMYKcmyk(14.3%, 46%, 0%, 1.2%)
CIE-LABlab(68.92, 49.83, -45.87)
CIE-LCHlch(68.92, 67.73, 317.37°)
OKLaboklab(75.26% 0.1255 -0.1273)
OKLCHoklch(75.26% 0.179 314.6)
XYZxyz(54.6909, 39.2369, 96.7691)
Luminance0.3924 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D888FC #ACFC88
analogous
#9E88FC #D888FC #FC88E6
triadic
#D888FC #FCD888 #88FCD8
tetradic
#D888FC #FC9E88 #ACFC88 #88E6FC
square
#D888FC #FC9E88 #ACFC88 #88E6FC
split-complementary
#D888FC #E6FC88 #88FC9E
monochromatic
#B111F9 #C44CFA #D888FC #ECC4FE #F5E1FE

Accessibility & contrast

On white

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

On black

8.85
#D888FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D888FC
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D888FC#FFFFFF#000000##000000
##D888FC1.002.378.858.85
#FFFFFF2.371.0021.0021.00
#0000008.8521.001.001.00
##0000008.8521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d888fc;
/* rgb */ color: rgb(216, 136, 252);
/* oklch */ color: oklch(75.3% 0.179 314.6);
Tailwind
colors: {
  custom: {
    50: '#e6adfe',
    500: '#d888fc',
    950: '#000000',
  },
}
SCSS
$custom: #d888fc;
$custom-light: #e6adfe;
$custom-dark: #000000;
JSON
{
  "hex": "#d888fc",
  "rgb": {
    "r": 216,
    "g": 136,
    "b": 252
  },
  "hsl": {
    "h": 281.379,
    "s": 95.082,
    "l": 76.078
  },
  "oklch": {
    "l": 0.7526,
    "c": 0.17875,
    "h": 314.6
  },
  "luminance": 0.39236
}

Semantic roles & 50–950 ramp

primary
#D888FC
secondary
#DFF6D5
accent
#E60047
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161018
muted
#847F86

Preview Lab

Preview with #D888FC

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

Preview Lab → · Contrast checker → · Palette generator →

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