#D889ED#D889ED

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

Color values

HEX#D889ED
RGBrgb(216, 137, 237)
HSLhsl(287, 74%, 73%)
HSVhsv(287, 42%, 93%)
CMYKcmyk(8.9%, 42.2%, 0%, 7.1%)
CIE-LABlab(68.47, 46.30, -38.37)
CIE-LCHlch(68.47, 60.13, 320.35°)
OKLaboklab(74.7% 0.1216 -0.1057)
OKLCHoklch(74.7% 0.161 319)
XYZxyz(52.5486, 38.6064, 84.7880)
Luminance0.3861 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D889ED #9EED89
analogous
#A689ED #D889ED #ED89D0
triadic
#D889ED #EDD889 #89EDD8
tetradic
#D889ED #EDA689 #9EED89 #89D0ED
square
#D889ED #EDA689 #9EED89 #89D0ED
split-complementary
#D889ED #D0ED89 #89EDA6
monochromatic
#B321DA #C654E5 #D889ED #EABEF5 #F6E4FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D889ED#FFFFFF#000000##000000
##D889ED1.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)
#7AA2F1
Deuteranopia (green-blind)
#8FAAEA
Tritanopia (blue-blind)
#D996B0
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #d889ed;
/* rgb */ color: rgb(216, 137, 237);
/* oklch */ color: oklch(74.7% 0.161 319.0);
Tailwind
colors: {
  custom: {
    50: '#e5adf3',
    500: '#d889ed',
    950: '#000000',
  },
}
SCSS
$custom: #d889ed;
$custom-light: #e5adf3;
$custom-dark: #000000;
JSON
{
  "hex": "#d889ed",
  "rgb": {
    "r": 216,
    "g": 137,
    "b": 237
  },
  "hsl": {
    "h": 287.4,
    "s": 73.529,
    "l": 73.333
  },
  "oklch": {
    "l": 0.74701,
    "c": 0.16115,
    "h": 319
  },
  "luminance": 0.38605
}

Semantic roles & 50–950 ramp

primary
#D889ED
secondary
#DEF3D8
accent
#D61039
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #D889ED

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

Preview Lab → · Contrast checker → · Palette generator →

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