#D989EF#D989EF

#D989EF is a light, vivid purple. Relative luminance 0.389; OKLCH L 74.9% C 0.164 H 318.8°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#D989EF
RGBrgb(217, 137, 239)
HSLhsl(287, 76%, 74%)
HSVhsv(287, 43%, 94%)
CMYKcmyk(9.2%, 42.7%, 0%, 6.3%)
CIE-LABlab(68.66, 46.98, -39.16)
CIE-LCHlch(68.66, 61.16, 320.19°)
OKLaboklab(74.9% 0.1231 -0.108)
OKLCHoklch(74.9% 0.164 318.8)
XYZxyz(53.1388, 38.8767, 86.3494)
Luminance0.3887 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D989EF #9FEF89
analogous
#A689EF #D989EF #EF89D2
triadic
#D989EF #EFD989 #89EFD9
tetradic
#D989EF #EFA689 #9FEF89 #89D2EF
square
#D989EF #EFA689 #9FEF89 #89D2EF
split-complementary
#D989EF #D2EF89 #89EFA6
monochromatic
#B61EDF #C853E8 #D989EF #EABFF6 #F6E4FB

Accessibility & contrast

On white

2.39
#D989EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.77
#D989EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D989EF
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D989EF#FFFFFF#000000##000000
##D989EF1.002.398.778.77
#FFFFFF2.391.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A2F3
Deuteranopia (green-blind)
#8FAAEC
Tritanopia (blue-blind)
#DA96B1
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #d989ef;
/* rgb */ color: rgb(217, 137, 239);
/* oklch */ color: oklch(74.9% 0.164 318.8);
Tailwind
colors: {
  custom: {
    50: '#e6adf4',
    500: '#d989ef',
    950: '#000000',
  },
}
SCSS
$custom: #d989ef;
$custom-light: #e6adf4;
$custom-dark: #000000;
JSON
{
  "hex": "#d989ef",
  "rgb": {
    "r": 217,
    "g": 137,
    "b": 239
  },
  "hsl": {
    "h": 287.059,
    "s": 76.119,
    "l": 73.725
  },
  "oklch": {
    "l": 0.74901,
    "c": 0.16376,
    "h": 318.8
  },
  "luminance": 0.38875
}

Semantic roles & 50–950 ramp

primary
#D989EF
secondary
#DEF3D8
accent
#D80D39
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #D989EF

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

Preview Lab → · Contrast checker → · Palette generator →

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