#D979FA#D979FA

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

Color values

HEX#D979FA
RGBrgb(217, 121, 250)
HSLhsl(285, 93%, 73%)
HSVhsv(285, 52%, 98%)
CMYKcmyk(13.2%, 51.6%, 0%, 2%)
CIE-LABlab(66.00, 57.31, -49.36)
CIE-LCHlch(66.00, 75.64, 319.26°)
OKLaboklab(73.09% 0.1464 -0.1373)
OKLCHoklch(73.09% 0.201 316.8)
XYZxyz(52.7054, 35.3303, 94.4670)
Luminance0.3533 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D979FA #9AFA79
analogous
#9879FA #D979FA #FA79DB
triadic
#D979FA #FAD979 #79FAD9
tetradic
#D979FA #FA9879 #9AFA79 #79DBFA
square
#D979FA #FA9879 #9AFA79 #79DBFA
split-complementary
#D979FA #DBFA79 #79FA98
monochromatic
#B509F0 #C83EF8 #D979FA #EAB4FC #F7E2FE

Accessibility & contrast

On white

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

On black

8.07
#D979FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D979FA
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D979FA#FFFFFF#000000##000000
##D979FA1.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E9AFE
Deuteranopia (green-blind)
#7CA3F7
Tritanopia (blue-blind)
#D88DAF
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d979fa;
/* rgb */ color: rgb(217, 121, 250);
/* oklch */ color: oklch(73.1% 0.201 316.8);
Tailwind
colors: {
  custom: {
    50: '#e7a3fc',
    500: '#d979fa',
    950: '#000000',
  },
}
SCSS
$custom: #d979fa;
$custom-light: #e7a3fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d979fa",
  "rgb": {
    "r": 217,
    "g": 121,
    "b": 250
  },
  "hsl": {
    "h": 284.651,
    "s": 92.806,
    "l": 72.745
  },
  "oklch": {
    "l": 0.73091,
    "c": 0.20075,
    "h": 316.8
  },
  "luminance": 0.35329
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D979FA

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

Preview Lab → · Contrast checker → · Palette generator →

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