#D978FF#D978FF

#D978FF is a light, highly saturated purple. Relative luminance 0.354; OKLCH L 73.2% C 0.207 H 315.6°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#D978FF
RGBrgb(217, 120, 255)
HSLhsl(283, 100%, 74%)
HSVhsv(283, 53%, 100%)
CMYKcmyk(14.9%, 52.9%, 0%, 0%)
CIE-LABlab(66.06, 58.80, -52.01)
CIE-LCHlch(66.06, 78.50, 318.50°)
OKLaboklab(73.21% 0.1482 -0.145)
OKLCHoklch(73.21% 0.207 315.6)
XYZxyz(53.3790, 35.4063, 98.6106)
Luminance0.3540 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D978FF #9EFF78
analogous
#9578FF #D978FF #FF78E1
triadic
#D978FF #FFD978 #78FFD9
tetradic
#D978FF #FF9578 #9EFF78 #78E1FF
square
#D978FF #FF9578 #9EFF78 #78E1FF
split-complementary
#D978FF #E1FF78 #78FF95
monochromatic
#B500FD #C83BFF #D978FF #EAB5FF #F6E0FF

Accessibility & contrast

On white

2.60
#D978FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#D978FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D978FF
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D978FF#FFFFFF#000000##000000
##D978FF1.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#589BFF
Deuteranopia (green-blind)
#78A3FB
Tritanopia (blue-blind)
#D78DB1
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #d978ff;
/* rgb */ color: rgb(217, 120, 255);
/* oklch */ color: oklch(73.2% 0.207 315.6);
Tailwind
colors: {
  custom: {
    50: '#e7a2ff',
    500: '#d978ff',
    950: '#000000',
  },
}
SCSS
$custom: #d978ff;
$custom-light: #e7a2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d978ff",
  "rgb": {
    "r": 217,
    "g": 120,
    "b": 255
  },
  "hsl": {
    "h": 283.111,
    "s": 100,
    "l": 73.529
  },
  "oklch": {
    "l": 0.73214,
    "c": 0.20733,
    "h": 315.6
  },
  "luminance": 0.35405
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D978FF

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

Preview Lab → · Contrast checker → · Palette generator →

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