#D989EA#D989EA

#D989EA is a light, vivid purple. Relative luminance 0.386; OKLCH L 74.7% C 0.159 H 320.4°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#D989EA
RGBrgb(217, 137, 234)
HSLhsl(289, 70%, 73%)
HSVhsv(289, 41%, 92%)
CMYKcmyk(7.3%, 41.5%, 0%, 8.2%)
CIE-LABlab(68.45, 46.00, -36.74)
CIE-LCHlch(68.45, 58.87, 321.39°)
OKLaboklab(74.67% 0.1222 -0.101)
OKLCHoklch(74.67% 0.159 320.4)
XYZxyz(52.4104, 38.5854, 82.5129)
Luminance0.3858 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D989EA #9AEA89
analogous
#A989EA #D989EA #EA89CA
triadic
#D989EA #EAD989 #89EAD9
tetradic
#D989EA #EAA989 #9AEA89 #89CAEA
square
#D989EA #EAA989 #9AEA89 #89CAEA
split-complementary
#D989EA #CAEA89 #89EAA9
monochromatic
#B526D3 #C855E1 #D989EA #EABDF3 #F7E5FA

Accessibility & contrast

On white

2.41
#D989EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.72
#D989EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D989EA
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D989EA#FFFFFF#000000##000000
##D989EA1.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA1ED
Deuteranopia (green-blind)
#91AAE7
Tritanopia (blue-blind)
#DB95AF
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #d989ea;
/* rgb */ color: rgb(217, 137, 234);
/* oklch */ color: oklch(74.7% 0.159 320.4);
Tailwind
colors: {
  custom: {
    50: '#e6adf1',
    500: '#d989ea',
    950: '#000000',
  },
}
SCSS
$custom: #d989ea;
$custom-light: #e6adf1;
$custom-dark: #000000;
JSON
{
  "hex": "#d989ea",
  "rgb": {
    "r": 217,
    "g": 137,
    "b": 234
  },
  "hsl": {
    "h": 289.485,
    "s": 69.784,
    "l": 72.745
  },
  "oklch": {
    "l": 0.74673,
    "c": 0.15856,
    "h": 320.4
  },
  "luminance": 0.38584
}

Semantic roles & 50–950 ramp

primary
#D989EA
secondary
#DDF2D9
accent
#D21435
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161016
muted
#847F84

Preview Lab

Preview with #D989EA

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

Preview Lab → · Contrast checker → · Palette generator →

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