#D989EB#D989EB

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

Color values

HEX#D989EB
RGBrgb(217, 137, 235)
HSLhsl(289, 71%, 73%)
HSVhsv(289, 42%, 92%)
CMYKcmyk(7.7%, 41.7%, 0%, 7.8%)
CIE-LABlab(68.49, 46.20, -37.22)
CIE-LCHlch(68.49, 59.33, 321.14°)
OKLaboklab(74.72% 0.1224 -0.1024)
OKLCHoklch(74.72% 0.16 320.1)
XYZxyz(52.5545, 38.6430, 83.2716)
Luminance0.3864 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D989EB #9BEB89
analogous
#A889EB #D989EB #EB89CC
triadic
#D989EB #EBD989 #89EBD9
tetradic
#D989EB #EBA889 #9BEB89 #89CCEB
square
#D989EB #EBA889 #9BEB89 #89CCEB
split-complementary
#D989EB #CCEB89 #89EBA8
monochromatic
#B524D5 #C855E2 #D989EB #EABDF4 #F7E5FB

Accessibility & contrast

On white

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

On black

8.73
#D989EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D989EB
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D989EB#FFFFFF#000000##000000
##D989EB1.002.418.738.73
#FFFFFF2.411.0021.0021.00
#0000008.7321.001.001.00
##0000008.7321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d989eb;
/* rgb */ color: rgb(217, 137, 235);
/* oklch */ color: oklch(74.7% 0.160 320.1);
Tailwind
colors: {
  custom: {
    50: '#e6adf1',
    500: '#d989eb',
    950: '#000000',
  },
}
SCSS
$custom: #d989eb;
$custom-light: #e6adf1;
$custom-dark: #000000;
JSON
{
  "hex": "#d989eb",
  "rgb": {
    "r": 217,
    "g": 137,
    "b": 235
  },
  "hsl": {
    "h": 288.98,
    "s": 71.014,
    "l": 72.941
  },
  "oklch": {
    "l": 0.74718,
    "c": 0.15959,
    "h": 320.1
  },
  "luminance": 0.38641
}

Semantic roles & 50–950 ramp

primary
#D989EB
secondary
#DDF2D9
accent
#D31236
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #D989EB

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

Preview Lab → · Contrast checker → · Palette generator →

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