#D979FB#D979FB

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

Color values

HEX#D979FB
RGBrgb(217, 121, 251)
HSLhsl(284, 94%, 73%)
HSVhsv(284, 52%, 98%)
CMYKcmyk(13.5%, 51.8%, 0%, 1.6%)
CIE-LABlab(66.05, 57.51, -49.84)
CIE-LCHlch(66.05, 76.10, 319.09°)
OKLaboklab(73.14% 0.1465 -0.1387)
OKLCHoklch(73.14% 0.202 316.6)
XYZxyz(52.8627, 35.3932, 95.2950)
Luminance0.3539 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D979FB #9BFB79
analogous
#9879FB #D979FB #FB79DC
triadic
#D979FB #FBD979 #79FBD9
tetradic
#D979FB #FB9879 #9BFB79 #79DCFB
square
#D979FB #FB9879 #9BFB79 #79DCFB
split-complementary
#D979FB #DCFB79 #79FB98
monochromatic
#B507F2 #C83EF9 #D979FB #EAB4FD #F7E1FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D979FB#FFFFFF#000000##000000
##D979FB1.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)
#5D9BFF
Deuteranopia (green-blind)
#7BA3F8
Tritanopia (blue-blind)
#D88DAF
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d979fb;
/* rgb */ color: rgb(217, 121, 251);
/* oklch */ color: oklch(73.1% 0.202 316.6);
Tailwind
colors: {
  custom: {
    50: '#e7a3fd',
    500: '#d979fb',
    950: '#000000',
  },
}
SCSS
$custom: #d979fb;
$custom-light: #e7a3fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d979fb",
  "rgb": {
    "r": 217,
    "g": 121,
    "b": 251
  },
  "hsl": {
    "h": 284.308,
    "s": 94.203,
    "l": 72.941
  },
  "oklch": {
    "l": 0.73142,
    "c": 0.20176,
    "h": 316.6
  },
  "luminance": 0.35391
}

Semantic roles & 50–950 ramp

primary
#D979FB
secondary
#DDF6D5
accent
#E6003C
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #D979FB

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

Preview Lab → · Contrast checker → · Palette generator →

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