#D989FB#D989FB

#D989FB is a light, vivid purple. Relative luminance 0.396; OKLCH L 75.5% C 0.176 H 315.1°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#D989FB
RGBrgb(217, 137, 251)
HSLhsl(282, 93%, 76%)
HSVhsv(282, 45%, 98%)
CMYKcmyk(13.5%, 45.4%, 0%, 1.6%)
CIE-LABlab(69.19, 49.38, -44.90)
CIE-LCHlch(69.19, 66.74, 317.72°)
OKLaboklab(75.47% 0.1251 -0.1245)
OKLCHoklch(75.47% 0.176 315.1)
XYZxyz(54.9708, 39.6095, 95.9977)
Luminance0.3961 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D989FB #ABFB89
analogous
#A089FB #D989FB #FB89E4
triadic
#D989FB #FBD989 #89FBD9
tetradic
#D989FB #FBA089 #ABFB89 #89E4FB
square
#D989FB #FBA089 #ABFB89 #89E4FB
split-complementary
#D989FB #E4FB89 #89FBA0
monochromatic
#B313F7 #C64EF9 #D989FB #ECC4FD #F5E1FE

Accessibility & contrast

On white

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

On black

8.92
#D989FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D989FB
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D989FB#FFFFFF#000000##000000
##D989FB1.002.358.928.92
#FFFFFF2.351.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A4FF
Deuteranopia (green-blind)
#89ABF8
Tritanopia (blue-blind)
#D799B6
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #d989fb;
/* rgb */ color: rgb(217, 137, 251);
/* oklch */ color: oklch(75.5% 0.176 315.1);
Tailwind
colors: {
  custom: {
    50: '#e7adfd',
    500: '#d989fb',
    950: '#000000',
  },
}
SCSS
$custom: #d989fb;
$custom-light: #e7adfd;
$custom-dark: #000000;
JSON
{
  "hex": "#d989fb",
  "rgb": {
    "r": 217,
    "g": 137,
    "b": 251
  },
  "hsl": {
    "h": 282.105,
    "s": 93.443,
    "l": 76.078
  },
  "oklch": {
    "l": 0.75469,
    "c": 0.17649,
    "h": 315.1
  },
  "luminance": 0.39608
}

Semantic roles & 50–950 ramp

primary
#D989FB
secondary
#DFF6D5
accent
#E60044
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #D989FB

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

Preview Lab → · Contrast checker → · Palette generator →

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