#D978FD#D978FD

#D978FD is a light, highly saturated purple. Relative luminance 0.353; OKLCH L 73.1% C 0.205 H 316.1°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#D978FD
RGBrgb(217, 120, 253)
HSLhsl(284, 97%, 73%)
HSVhsv(284, 53%, 99%)
CMYKcmyk(14.2%, 52.6%, 0%, 0.8%)
CIE-LABlab(65.96, 58.40, -51.07)
CIE-LCHlch(65.96, 77.58, 318.83°)
OKLaboklab(73.11% 0.148 -0.1423)
OKLCHoklch(73.11% 0.205 316.1)
XYZxyz(53.0587, 35.2782, 96.9239)
Luminance0.3528 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D978FD #9CFD78
analogous
#9678FD #D978FD #FD78DF
triadic
#D978FD #FDD978 #78FDD9
tetradic
#D978FD #FD9678 #9CFD78 #78DFFD
square
#D978FD #FD9678 #9CFD78 #78DFFD
split-complementary
#D978FD #DFFD78 #78FD96
monochromatic
#B504F7 #C83CFC #D978FD #EAB4FE #F7E1FF

Accessibility & contrast

On white

2.61
#D978FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.06
#D978FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D978FD
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D978FD#FFFFFF#000000##000000
##D978FD1.002.618.068.06
#FFFFFF2.611.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A9AFF
Deuteranopia (green-blind)
#79A3F9
Tritanopia (blue-blind)
#D78DB0
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d978fd;
/* rgb */ color: rgb(217, 120, 253);
/* oklch */ color: oklch(73.1% 0.205 316.1);
Tailwind
colors: {
  custom: {
    50: '#e7a2fe',
    500: '#d978fd',
    950: '#000000',
  },
}
SCSS
$custom: #d978fd;
$custom-light: #e7a2fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d978fd",
  "rgb": {
    "r": 217,
    "g": 120,
    "b": 253
  },
  "hsl": {
    "h": 283.759,
    "s": 97.08,
    "l": 73.137
  },
  "oklch": {
    "l": 0.73109,
    "c": 0.20531,
    "h": 316.1
  },
  "luminance": 0.35277
}

Semantic roles & 50–950 ramp

primary
#D978FD
secondary
#DEF7D4
accent
#E6003E
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #D978FD

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

Preview Lab → · Contrast checker → · Palette generator →

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