#D988FC#D988FC

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

Color values

HEX#D988FC
RGBrgb(217, 136, 252)
HSLhsl(282, 95%, 76%)
HSVhsv(282, 46%, 99%)
CMYKcmyk(13.9%, 46%, 0%, 1.2%)
CIE-LABlab(69.03, 50.10, -45.69)
CIE-LCHlch(69.03, 67.81, 317.64°)
OKLaboklab(75.37% 0.1266 -0.1268)
OKLCHoklch(75.37% 0.179 315)
XYZxyz(54.9874, 39.3898, 96.7830)
Luminance0.3939 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D988FC #ABFC88
analogous
#9F88FC #D988FC #FC88E5
triadic
#D988FC #FCD988 #88FCD9
tetradic
#D988FC #FC9F88 #ABFC88 #88E5FC
square
#D988FC #FC9F88 #ABFC88 #88E5FC
split-complementary
#D988FC #E5FC88 #88FC9F
monochromatic
#B311F9 #C64CFA #D988FC #ECC4FE #F5E1FE

Accessibility & contrast

On white

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

On black

8.88
#D988FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D988FC
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D988FC#FFFFFF#000000##000000
##D988FC1.002.378.888.88
#FFFFFF2.371.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A4FF
Deuteranopia (green-blind)
#88ABF9
Tritanopia (blue-blind)
#D799B6
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #d988fc;
/* rgb */ color: rgb(217, 136, 252);
/* oklch */ color: oklch(75.4% 0.179 315.0);
Tailwind
colors: {
  custom: {
    50: '#e7adfe',
    500: '#d988fc',
    950: '#000000',
  },
}
SCSS
$custom: #d988fc;
$custom-light: #e7adfe;
$custom-dark: #000000;
JSON
{
  "hex": "#d988fc",
  "rgb": {
    "r": 217,
    "g": 136,
    "b": 252
  },
  "hsl": {
    "h": 281.897,
    "s": 95.082,
    "l": 76.078
  },
  "oklch": {
    "l": 0.75366,
    "c": 0.17918,
    "h": 315
  },
  "luminance": 0.39388
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D988FC

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

Preview Lab → · Contrast checker → · Palette generator →

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