#D889EE#D889EE

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

Color values

HEX#D889EE
RGBrgb(216, 137, 238)
HSLhsl(287, 75%, 74%)
HSVhsv(287, 42%, 93%)
CMYKcmyk(9.2%, 42.4%, 0%, 6.7%)
CIE-LABlab(68.51, 46.49, -38.85)
CIE-LCHlch(68.51, 60.59, 320.12°)
OKLaboklab(74.75% 0.1218 -0.1071)
OKLCHoklch(74.75% 0.162 318.7)
XYZxyz(52.6951, 38.6650, 85.5596)
Luminance0.3866 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D889EE #9FEE89
analogous
#A589EE #D889EE #EE89D1
triadic
#D889EE #EED889 #89EED8
tetradic
#D889EE #EEA589 #9FEE89 #89D1EE
square
#D889EE #EEA589 #9FEE89 #89D1EE
split-complementary
#D889EE #D1EE89 #89EEA5
monochromatic
#B420DD #C654E6 #D889EE #EABEF6 #F6E4FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D889EE#FFFFFF#000000##000000
##D889EE1.002.408.738.73
#FFFFFF2.401.0021.0021.00
#0000008.7321.001.001.00
##0000008.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A2F2
Deuteranopia (green-blind)
#8FAAEB
Tritanopia (blue-blind)
#D896B0
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #d889ee;
/* rgb */ color: rgb(216, 137, 238);
/* oklch */ color: oklch(74.7% 0.162 318.7);
Tailwind
colors: {
  custom: {
    50: '#e6adf4',
    500: '#d889ee',
    950: '#000000',
  },
}
SCSS
$custom: #d889ee;
$custom-light: #e6adf4;
$custom-dark: #000000;
JSON
{
  "hex": "#d889ee",
  "rgb": {
    "r": 216,
    "g": 137,
    "b": 238
  },
  "hsl": {
    "h": 286.931,
    "s": 74.815,
    "l": 73.529
  },
  "oklch": {
    "l": 0.74747,
    "c": 0.1622,
    "h": 318.7
  },
  "luminance": 0.38663
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D889EE

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

Preview Lab → · Contrast checker → · Palette generator →

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