#D978FA#D978FA

#D978FA is a light, highly saturated purple. Relative luminance 0.351; OKLCH L 73.0% C 0.202 H 316.9°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#D978FA
RGBrgb(217, 120, 250)
HSLhsl(285, 93%, 73%)
HSVhsv(285, 52%, 98%)
CMYKcmyk(13.2%, 52%, 0%, 2%)
CIE-LABlab(65.82, 57.80, -49.66)
CIE-LCHlch(65.82, 76.21, 319.33°)
OKLaboklab(72.95% 0.1477 -0.1382)
OKLCHoklch(72.95% 0.202 316.9)
XYZxyz(52.5846, 35.0886, 94.4267)
Luminance0.3509 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D978FA #99FA78
analogous
#9878FA #D978FA #FA78DA
triadic
#D978FA #FAD978 #78FAD9
tetradic
#D978FA #FA9878 #99FA78 #78DAFA
square
#D978FA #FA9878 #99FA78 #78DAFA
split-complementary
#D978FA #DAFA78 #78FA98
monochromatic
#B409EF #C83DF8 #D978FA #EAB3FC #F7E1FE

Accessibility & contrast

On white

2.62
#D978FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#D978FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D978FA
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D978FA#FFFFFF#000000##000000
##D978FA1.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C9AFE
Deuteranopia (green-blind)
#7BA3F7
Tritanopia (blue-blind)
#D88CAE
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d978fa;
/* rgb */ color: rgb(217, 120, 250);
/* oklch */ color: oklch(73.0% 0.202 316.9);
Tailwind
colors: {
  custom: {
    50: '#e7a2fc',
    500: '#d978fa',
    950: '#000000',
  },
}
SCSS
$custom: #d978fa;
$custom-light: #e7a2fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d978fa",
  "rgb": {
    "r": 217,
    "g": 120,
    "b": 250
  },
  "hsl": {
    "h": 284.769,
    "s": 92.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.72953,
    "c": 0.20229,
    "h": 316.9
  },
  "luminance": 0.35087
}

Semantic roles & 50–950 ramp

primary
#D978FA
secondary
#DDF6D5
accent
#E6003A
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D978FA

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

Preview Lab → · Contrast checker → · Palette generator →

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