#D889EF#D889EF

#D889EF is a light, vivid purple. Relative luminance 0.387; OKLCH L 74.8% C 0.163 H 318.3°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#D889EF
RGBrgb(216, 137, 239)
HSLhsl(286, 76%, 74%)
HSVhsv(286, 43%, 94%)
CMYKcmyk(9.6%, 42.7%, 0%, 6.3%)
CIE-LABlab(68.55, 46.69, -39.34)
CIE-LCHlch(68.55, 61.05, 319.89°)
OKLaboklab(74.79% 0.122 -0.1085)
OKLCHoklch(74.79% 0.163 318.3)
XYZxyz(52.8424, 38.7239, 86.3355)
Luminance0.3872 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D889EF #A0EF89
analogous
#A589EF #D889EF #EF89D3
triadic
#D889EF #EFD889 #89EFD8
tetradic
#D889EF #EFA589 #A0EF89 #89D3EF
square
#D889EF #EFA589 #A0EF89 #89D3EF
split-complementary
#D889EF #D3EF89 #89EFA5
monochromatic
#B41EDF #C653E8 #D889EF #EABFF6 #F6E4FB

Accessibility & contrast

On white

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

On black

8.74
#D889EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D889EF
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D889EF#FFFFFF#000000##000000
##D889EF1.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A2F3
Deuteranopia (green-blind)
#8EAAEC
Tritanopia (blue-blind)
#D896B1
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #d889ef;
/* rgb */ color: rgb(216, 137, 239);
/* oklch */ color: oklch(74.8% 0.163 318.3);
Tailwind
colors: {
  custom: {
    50: '#e6adf4',
    500: '#d889ef',
    950: '#000000',
  },
}
SCSS
$custom: #d889ef;
$custom-light: #e6adf4;
$custom-dark: #000000;
JSON
{
  "hex": "#d889ef",
  "rgb": {
    "r": 216,
    "g": 137,
    "b": 239
  },
  "hsl": {
    "h": 286.471,
    "s": 76.119,
    "l": 73.725
  },
  "oklch": {
    "l": 0.74793,
    "c": 0.16326,
    "h": 318.3
  },
  "luminance": 0.38722
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D889EF

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

Preview Lab → · Contrast checker → · Palette generator →

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