#D989EE#D989EE

#D989EE is a light, vivid purple. Relative luminance 0.388; OKLCH L 74.9% C 0.163 H 319.1°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#D989EE
RGBrgb(217, 137, 238)
HSLhsl(288, 75%, 74%)
HSVhsv(288, 42%, 93%)
CMYKcmyk(8.8%, 42.4%, 0%, 6.7%)
CIE-LABlab(68.62, 46.78, -38.67)
CIE-LCHlch(68.62, 60.70, 320.42°)
OKLaboklab(74.86% 0.123 -0.1066)
OKLCHoklch(74.86% 0.163 319.1)
XYZxyz(52.9915, 38.8178, 85.5735)
Luminance0.3882 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D989EE #9EEE89
analogous
#A689EE #D989EE #EE89D0
triadic
#D989EE #EED989 #89EED9
tetradic
#D989EE #EEA689 #9EEE89 #89D0EE
square
#D989EE #EEA689 #9EEE89 #89D0EE
split-complementary
#D989EE #D0EE89 #89EEA6
monochromatic
#B520DD #C854E6 #D989EE #EABEF6 #F6E4FB

Accessibility & contrast

On white

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

On black

8.76
#D989EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D989EE
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D989EE#FFFFFF#000000##000000
##D989EE1.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA2F2
Deuteranopia (green-blind)
#8FAAEB
Tritanopia (blue-blind)
#DA96B0
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #d989ee;
/* rgb */ color: rgb(217, 137, 238);
/* oklch */ color: oklch(74.9% 0.163 319.1);
Tailwind
colors: {
  custom: {
    50: '#e6adf4',
    500: '#d989ee',
    950: '#000000',
  },
}
SCSS
$custom: #d989ee;
$custom-light: #e6adf4;
$custom-dark: #000000;
JSON
{
  "hex": "#d989ee",
  "rgb": {
    "r": 217,
    "g": 137,
    "b": 238
  },
  "hsl": {
    "h": 287.525,
    "s": 74.815,
    "l": 73.529
  },
  "oklch": {
    "l": 0.74855,
    "c": 0.16271,
    "h": 319.1
  },
  "luminance": 0.38816
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D989EE

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

Preview Lab → · Contrast checker → · Palette generator →

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