#D889FC#D889FC

#D889FC is a light, vivid purple. Relative luminance 0.395; OKLCH L 75.4% C 0.177 H 314.5°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#D889FC
RGBrgb(216, 137, 252)
HSLhsl(281, 95%, 76%)
HSVhsv(281, 46%, 99%)
CMYKcmyk(14.3%, 45.6%, 0%, 1.2%)
CIE-LABlab(69.13, 49.31, -45.55)
CIE-LCHlch(69.13, 67.13, 317.27°)
OKLaboklab(75.41% 0.1241 -0.1264)
OKLCHoklch(75.41% 0.177 314.5)
XYZxyz(54.8324, 39.5199, 96.8162)
Luminance0.3952 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D889FC #ADFC89
analogous
#9F89FC #D889FC #FC89E7
triadic
#D889FC #FCD889 #89FCD8
tetradic
#D889FC #FC9F89 #ADFC89 #89E7FC
square
#D889FC #FC9F89 #ADFC89 #89E7FC
split-complementary
#D889FC #E7FC89 #89FC9F
monochromatic
#B112F9 #C44DFA #D889FC #ECC5FE #F5E1FE

Accessibility & contrast

On white

2.36
#D889FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.90
#D889FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D889FC
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D889FC#FFFFFF#000000##000000
##D889FC1.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A4FF
Deuteranopia (green-blind)
#88ABF9
Tritanopia (blue-blind)
#D69AB7
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #d889fc;
/* rgb */ color: rgb(216, 137, 252);
/* oklch */ color: oklch(75.4% 0.177 314.5);
Tailwind
colors: {
  custom: {
    50: '#e6adfe',
    500: '#d889fc',
    950: '#000000',
  },
}
SCSS
$custom: #d889fc;
$custom-light: #e6adfe;
$custom-dark: #000000;
JSON
{
  "hex": "#d889fc",
  "rgb": {
    "r": 216,
    "g": 137,
    "b": 252
  },
  "hsl": {
    "h": 281.217,
    "s": 95.041,
    "l": 76.275
  },
  "oklch": {
    "l": 0.75412,
    "c": 0.17714,
    "h": 314.5
  },
  "luminance": 0.39519
}

Semantic roles & 50–950 ramp

primary
#D889FC
secondary
#DFF6D5
accent
#E60048
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161018
muted
#847F86

Preview Lab

Preview with #D889FC

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

Preview Lab → · Contrast checker → · Palette generator →

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