#D989FE#D989FE

#D989FE is a light, vivid purple. Relative luminance 0.398; OKLCH L 75.6% C 0.180 H 314.3°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#D989FE
RGBrgb(217, 137, 254)
HSLhsl(281, 98%, 77%)
HSVhsv(281, 46%, 100%)
CMYKcmyk(14.6%, 46.1%, 0%, 0.4%)
CIE-LABlab(69.33, 49.99, -46.32)
CIE-LCHlch(69.33, 68.15, 317.19°)
OKLaboklab(75.61% 0.1255 -0.1286)
OKLCHoklch(75.61% 0.18 314.3)
XYZxyz(55.4474, 39.8002, 98.5080)
Luminance0.3980 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D989FE #AEFE89
analogous
#9F89FE #D989FE #FE89E8
triadic
#D989FE #FED989 #89FED9
tetradic
#D989FE #FE9F89 #AEFE89 #89E8FE
square
#D989FE #FE9F89 #AEFE89 #89E8FE
split-complementary
#D989FE #E8FE89 #89FE9F
monochromatic
#B210FD #C54CFD #D989FE #EDC6FF #F5E1FF

Accessibility & contrast

On white

2.34
#D989FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.96
#D989FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D989FE
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D989FE#FFFFFF#000000##000000
##D989FE1.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A5FF
Deuteranopia (green-blind)
#87ABFB
Tritanopia (blue-blind)
#D69AB8
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #d989fe;
/* rgb */ color: rgb(217, 137, 254);
/* oklch */ color: oklch(75.6% 0.180 314.3);
Tailwind
colors: {
  custom: {
    50: '#e7adff',
    500: '#d989fe',
    950: '#000000',
  },
}
SCSS
$custom: #d989fe;
$custom-light: #e7adff;
$custom-dark: #000000;
JSON
{
  "hex": "#d989fe",
  "rgb": {
    "r": 217,
    "g": 137,
    "b": 254
  },
  "hsl": {
    "h": 281.026,
    "s": 98.319,
    "l": 76.667
  },
  "oklch": {
    "l": 0.75615,
    "c": 0.17972,
    "h": 314.3
  },
  "luminance": 0.39799
}

Semantic roles & 50–950 ramp

primary
#D989FE
secondary
#DFF7D4
accent
#E60049
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161018
muted
#847F86

Preview Lab

Preview with #D989FE

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

Preview Lab → · Contrast checker → · Palette generator →

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