#D989FC#D989FC

#D989FC is a light, vivid purple. Relative luminance 0.397; OKLCH L 75.5% C 0.178 H 314.9°. Best body text is #000000 at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#D989FC
RGBrgb(217, 137, 252)
HSLhsl(282, 95%, 76%)
HSVhsv(282, 46%, 99%)
CMYKcmyk(13.9%, 45.6%, 0%, 1.2%)
CIE-LABlab(69.24, 49.59, -45.37)
CIE-LCHlch(69.24, 67.21, 317.54°)
OKLaboklab(75.52% 0.1253 -0.1259)
OKLCHoklch(75.52% 0.178 314.9)
XYZxyz(55.1289, 39.6727, 96.8301)
Luminance0.3967 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D989FC #ACFC89
analogous
#A089FC #D989FC #FC89E6
triadic
#D989FC #FCD989 #89FCD9
tetradic
#D989FC #FCA089 #ACFC89 #89E6FC
square
#D989FC #FCA089 #ACFC89 #89E6FC
split-complementary
#D989FC #E6FC89 #89FCA0
monochromatic
#B312F9 #C64DFA #D989FC #ECC5FE #F5E1FE

Accessibility & contrast

On white

2.35
#D989FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.93
#D989FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D989FC
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D989FC#FFFFFF#000000##000000
##D989FC1.002.358.938.93
#FFFFFF2.351.0021.0021.00
#0000008.9321.001.001.00
##0000008.9321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d989fc;
/* rgb */ color: rgb(217, 137, 252);
/* oklch */ color: oklch(75.5% 0.178 314.9);
Tailwind
colors: {
  custom: {
    50: '#e7adfe',
    500: '#d989fc',
    950: '#000000',
  },
}
SCSS
$custom: #d989fc;
$custom-light: #e7adfe;
$custom-dark: #000000;
JSON
{
  "hex": "#d989fc",
  "rgb": {
    "r": 217,
    "g": 137,
    "b": 252
  },
  "hsl": {
    "h": 281.739,
    "s": 95.041,
    "l": 76.275
  },
  "oklch": {
    "l": 0.75518,
    "c": 0.17758,
    "h": 314.9
  },
  "luminance": 0.39671
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D989FC

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

Preview Lab → · Contrast checker → · Palette generator →

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