#D889F2#D889F2

#D889F2 is a light, vivid purple. Relative luminance 0.389; OKLCH L 74.9% C 0.166 H 317.4°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#D889F2
RGBrgb(216, 137, 242)
HSLhsl(285, 80%, 74%)
HSVhsv(285, 43%, 95%)
CMYKcmyk(10.7%, 43.4%, 0%, 5.1%)
CIE-LABlab(68.68, 47.29, -40.78)
CIE-LCHlch(68.68, 62.44, 319.23°)
OKLaboklab(74.93% 0.1225 -0.1127)
OKLCHoklch(74.93% 0.166 317.4)
XYZxyz(53.2893, 38.9026, 88.6890)
Luminance0.3890 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D889F2 #A3F289
analogous
#A489F2 #D889F2 #F289D8
triadic
#D889F2 #F2D889 #89F2D8
tetradic
#D889F2 #F2A489 #A3F289 #89D8F2
square
#D889F2 #F2A489 #A3F289 #89D8F2
split-complementary
#D889F2 #D8F289 #89F2A4
monochromatic
#B41BE6 #C652EC #D889F2 #EAC0F8 #F6E3FC

Accessibility & contrast

On white

2.39
#D889F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.78
#D889F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D889F2
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D889F2#FFFFFF#000000##000000
##D889F21.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A2F6
Deuteranopia (green-blind)
#8DAAEF
Tritanopia (blue-blind)
#D897B2
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #d889f2;
/* rgb */ color: rgb(216, 137, 242);
/* oklch */ color: oklch(74.9% 0.166 317.4);
Tailwind
colors: {
  custom: {
    50: '#e6adf6',
    500: '#d889f2',
    950: '#000000',
  },
}
SCSS
$custom: #d889f2;
$custom-light: #e6adf6;
$custom-dark: #000000;
JSON
{
  "hex": "#d889f2",
  "rgb": {
    "r": 216,
    "g": 137,
    "b": 242
  },
  "hsl": {
    "h": 285.143,
    "s": 80.153,
    "l": 74.314
  },
  "oklch": {
    "l": 0.74933,
    "c": 0.16643,
    "h": 317.4
  },
  "luminance": 0.38901
}

Semantic roles & 50–950 ramp

primary
#D889F2
secondary
#DEF4D7
accent
#DC093D
background
#FEFAFF
surface
#FCF4FE
border
#D5CED6
text
#161017
muted
#847F85

Preview Lab

Preview with #D889F2

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

Preview Lab → · Contrast checker → · Palette generator →

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