#D888F9#D888F9

#D888F9 is a light, vivid purple. Relative luminance 0.390; OKLCH L 75.1% C 0.176 H 315.4°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#D888F9
RGBrgb(216, 136, 249)
HSLhsl(282, 90%, 75%)
HSVhsv(282, 45%, 98%)
CMYKcmyk(13.3%, 45.4%, 0%, 2.4%)
CIE-LABlab(68.79, 49.22, -44.45)
CIE-LCHlch(68.79, 66.32, 317.92°)
OKLaboklab(75.11% 0.125 -0.1232)
OKLCHoklch(75.11% 0.176 315.4)
XYZxyz(54.2193, 39.0483, 94.2851)
Luminance0.3905 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D888F9 #A9F988
analogous
#9F88F9 #D888F9 #F988E1
triadic
#D888F9 #F9D888 #88F9D8
tetradic
#D888F9 #F99F88 #A9F988 #88E1F9
square
#D888F9 #F99F88 #A9F988 #88E1F9
split-complementary
#D888F9 #E1F988 #88F99F
monochromatic
#B213F3 #C54EF6 #D888F9 #EBC2FC #F5E2FE

Accessibility & contrast

On white

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

On black

8.81
#D888F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D888F9
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D888F9#FFFFFF#000000##000000
##D888F91.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A3FD
Deuteranopia (green-blind)
#88AAF6
Tritanopia (blue-blind)
#D698B5
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #d888f9;
/* rgb */ color: rgb(216, 136, 249);
/* oklch */ color: oklch(75.1% 0.176 315.4);
Tailwind
colors: {
  custom: {
    50: '#e6acfb',
    500: '#d888f9',
    950: '#000000',
  },
}
SCSS
$custom: #d888f9;
$custom-light: #e6acfb;
$custom-dark: #000000;
JSON
{
  "hex": "#d888f9",
  "rgb": {
    "r": 216,
    "g": 136,
    "b": 249
  },
  "hsl": {
    "h": 282.478,
    "s": 90.4,
    "l": 75.49
  },
  "oklch": {
    "l": 0.75113,
    "c": 0.17553,
    "h": 315.4
  },
  "luminance": 0.39047
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D888F9

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

Preview Lab → · Contrast checker → · Palette generator →

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