#D989DC#D989DC

#D989DC is a light, vivid purple. Relative luminance 0.378; OKLCH L 74.1% C 0.144 H 325.6°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#D989DC
RGBrgb(217, 137, 220)
HSLhsl(298, 54%, 70%)
HSVhsv(298, 38%, 86%)
CMYKcmyk(1.4%, 37.7%, 0%, 13.7%)
CIE-LABlab(67.88, 43.35, -29.89)
CIE-LCHlch(67.88, 52.65, 325.41°)
OKLaboklab(74.06% 0.1193 -0.0815)
OKLCHoklch(74.06% 0.144 325.6)
XYZxyz(50.4780, 37.8124, 72.3359)
Luminance0.3781 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D989DC #8CDC89
analogous
#AF89DC #D989DC #DC89B6
triadic
#D989DC #DCD989 #89DCD9
tetradic
#D989DC #DCAF89 #8CDC89 #89B6DC
square
#D989DC #DCAF89 #8CDC89 #89B6DC
split-complementary
#D989DC #B6DC89 #89DCAF
monochromatic
#B036B5 #CA5ACE #D989DC #E8B8EA #F7E7F8

Accessibility & contrast

On white

2.45
#D989DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.56
#D989DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D989DC
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D989DC#FFFFFF#000000##000000
##D989DC1.002.458.568.56
#FFFFFF2.451.0021.0021.00
#0000008.5621.001.001.00
##0000008.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#829FDF
Deuteranopia (green-blind)
#96A9D9
Tritanopia (blue-blind)
#DD91A8
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #d989dc;
/* rgb */ color: rgb(217, 137, 220);
/* oklch */ color: oklch(74.1% 0.144 325.6);
Tailwind
colors: {
  custom: {
    50: '#e6ade7',
    500: '#d989dc',
    950: '#000000',
  },
}
SCSS
$custom: #d989dc;
$custom-light: #e6ade7;
$custom-dark: #000000;
JSON
{
  "hex": "#d989dc",
  "rgb": {
    "r": 217,
    "g": 137,
    "b": 220
  },
  "hsl": {
    "h": 297.831,
    "s": 54.248,
    "l": 70
  },
  "oklch": {
    "l": 0.7406,
    "c": 0.14445,
    "h": 325.6
  },
  "luminance": 0.3781
}

Semantic roles & 50–950 ramp

primary
#D989DC
secondary
#D6ECD5
accent
#C22429
background
#FEFAFE
surface
#FCF4FC
border
#D5CED5
text
#161016
muted
#847F84

Preview Lab

Preview with #D989DC

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

Preview Lab → · Contrast checker → · Palette generator →

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