#D989EC#D989EC

#D989EC is a light, vivid purple. Relative luminance 0.387; OKLCH L 74.8% C 0.161 H 319.7°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#D989EC
RGBrgb(217, 137, 236)
HSLhsl(288, 72%, 73%)
HSVhsv(288, 42%, 93%)
CMYKcmyk(8.1%, 41.9%, 0%, 7.5%)
CIE-LABlab(68.53, 46.39, -37.71)
CIE-LCHlch(68.53, 59.78, 320.90°)
OKLaboklab(74.76% 0.1226 -0.1038)
OKLCHoklch(74.76% 0.161 319.7)
XYZxyz(52.6993, 38.7009, 84.0346)
Luminance0.3870 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D989EC #9CEC89
analogous
#A789EC #D989EC #EC89CD
triadic
#D989EC #ECD989 #89ECD9
tetradic
#D989EC #ECA789 #9CEC89 #89CDEC
square
#D989EC #ECA789 #9CEC89 #89CDEC
split-complementary
#D989EC #CDEC89 #89ECA7
monochromatic
#B523D8 #C854E4 #D989EC #EABEF4 #F7E5FB

Accessibility & contrast

On white

2.40
#D989EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.74
#D989EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D989EC
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D989EC#FFFFFF#000000##000000
##D989EC1.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA2F0
Deuteranopia (green-blind)
#90AAE9
Tritanopia (blue-blind)
#DA95AF
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #d989ec;
/* rgb */ color: rgb(217, 137, 236);
/* oklch */ color: oklch(74.8% 0.161 319.7);
Tailwind
colors: {
  custom: {
    50: '#e6adf2',
    500: '#d989ec',
    950: '#000000',
  },
}
SCSS
$custom: #d989ec;
$custom-light: #e6adf2;
$custom-dark: #000000;
JSON
{
  "hex": "#d989ec",
  "rgb": {
    "r": 217,
    "g": 137,
    "b": 236
  },
  "hsl": {
    "h": 288.485,
    "s": 72.263,
    "l": 73.137
  },
  "oklch": {
    "l": 0.74763,
    "c": 0.16063,
    "h": 319.7
  },
  "luminance": 0.38699
}

Semantic roles & 50–950 ramp

primary
#D989EC
secondary
#DEF2D9
accent
#D41137
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #D989EC

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

Preview Lab → · Contrast checker → · Palette generator →

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