#D979F9#D979F9

#D979F9 is a light, vivid purple. Relative luminance 0.353; OKLCH L 73.0% C 0.200 H 317.1°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#D979F9
RGBrgb(217, 121, 249)
HSLhsl(285, 91%, 73%)
HSVhsv(285, 51%, 98%)
CMYKcmyk(12.9%, 51.4%, 0%, 2.4%)
CIE-LABlab(65.96, 57.11, -48.89)
CIE-LCHlch(65.96, 75.18, 319.43°)
OKLaboklab(73.04% 0.1463 -0.136)
OKLCHoklch(73.04% 0.2 317.1)
XYZxyz(52.5491, 35.2678, 93.6434)
Luminance0.3527 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D979F9 #99F979
analogous
#9979F9 #D979F9 #F979D9
triadic
#D979F9 #F9D979 #79F9D9
tetradic
#D979F9 #F99979 #99F979 #79D9F9
square
#D979F9 #F99979 #99F979 #79D9F9
split-complementary
#D979F9 #D9F979 #79F999
monochromatic
#B40BED #C83EF6 #D979F9 #EAB4FC #F7E2FE

Accessibility & contrast

On white

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

On black

8.05
#D979F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D979F9
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D979F9#FFFFFF#000000##000000
##D979F91.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d979f9;
/* rgb */ color: rgb(217, 121, 249);
/* oklch */ color: oklch(73.0% 0.200 317.1);
Tailwind
colors: {
  custom: {
    50: '#e7a3fc',
    500: '#d979f9',
    950: '#000000',
  },
}
SCSS
$custom: #d979f9;
$custom-light: #e7a3fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d979f9",
  "rgb": {
    "r": 217,
    "g": 121,
    "b": 249
  },
  "hsl": {
    "h": 285,
    "s": 91.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.73039,
    "c": 0.19975,
    "h": 317.1
  },
  "luminance": 0.35266
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D979F9

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

Preview Lab → · Contrast checker → · Palette generator →

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