#D889EB#D889EB

#D889EB is a light, vivid purple. Relative luminance 0.385; OKLCH L 74.6% C 0.159 H 319.7°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#D889EB
RGBrgb(216, 137, 235)
HSLhsl(288, 71%, 73%)
HSVhsv(288, 42%, 92%)
CMYKcmyk(8.1%, 41.7%, 0%, 7.8%)
CIE-LABlab(68.38, 45.91, -37.40)
CIE-LCHlch(68.38, 59.22, 320.83°)
OKLaboklab(74.61% 0.1212 -0.103)
OKLCHoklch(74.61% 0.159 319.7)
XYZxyz(52.2580, 38.4901, 83.2577)
Luminance0.3849 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D889EB #9CEB89
analogous
#A789EB #D889EB #EB89CD
triadic
#D889EB #EBD889 #89EBD8
tetradic
#D889EB #EBA789 #9CEB89 #89CDEB
square
#D889EB #EBA789 #9CEB89 #89CDEB
split-complementary
#D889EB #CDEB89 #89EBA7
monochromatic
#B324D5 #C755E2 #D889EB #E9BDF4 #F6E5FB

Accessibility & contrast

On white

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

On black

8.70
#D889EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D889EB
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D889EB#FFFFFF#000000##000000
##D889EB1.002.418.708.70
#FFFFFF2.411.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d889eb;
/* rgb */ color: rgb(216, 137, 235);
/* oklch */ color: oklch(74.6% 0.159 319.7);
Tailwind
colors: {
  custom: {
    50: '#e5adf1',
    500: '#d889eb',
    950: '#000000',
  },
}
SCSS
$custom: #d889eb;
$custom-light: #e5adf1;
$custom-dark: #000000;
JSON
{
  "hex": "#d889eb",
  "rgb": {
    "r": 216,
    "g": 137,
    "b": 235
  },
  "hsl": {
    "h": 288.367,
    "s": 71.014,
    "l": 72.941
  },
  "oklch": {
    "l": 0.7461,
    "c": 0.15906,
    "h": 319.7
  },
  "luminance": 0.38488
}

Semantic roles & 50–950 ramp

primary
#D889EB
secondary
#DEF2D9
accent
#D31238
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #D889EB

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

Preview Lab → · Contrast checker → · Palette generator →

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