#D979EB#D979EB

#D979EB is a light, vivid purple. Relative luminance 0.344; OKLCH L 72.3% C 0.186 H 321.1°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#D979EB
RGBrgb(217, 121, 235)
HSLhsl(291, 74%, 70%)
HSVhsv(291, 49%, 92%)
CMYKcmyk(7.7%, 48.5%, 0%, 7.8%)
CIE-LABlab(65.30, 54.39, -42.21)
CIE-LCHlch(65.30, 68.85, 322.19°)
OKLaboklab(72.34% 0.1447 -0.1166)
OKLCHoklch(72.34% 0.186 321.1)
XYZxyz(50.4463, 34.4267, 82.5689)
Luminance0.3443 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D979EB #8BEB79
analogous
#A079EB #D979EB #EB79C4
triadic
#D979EB #EBD979 #79EBD9
tetradic
#D979EB #EBA079 #8BEB79 #79C4EB
square
#D979EB #EBA079 #8BEB79 #79C4EB
split-complementary
#D979EB #C4EB79 #79EBA0
monochromatic
#B01ECB #CA44E3 #D979EB #E8AEF3 #F7E4FB

Accessibility & contrast

On white

2.66
#D979EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.89
#D979EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D979EB
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D979EB#FFFFFF#000000##000000
##D979EB1.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6798EF
Deuteranopia (green-blind)
#84A2E8
Tritanopia (blue-blind)
#DB88A7
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #d979eb;
/* rgb */ color: rgb(217, 121, 235);
/* oklch */ color: oklch(72.3% 0.186 321.1);
Tailwind
colors: {
  custom: {
    50: '#e7a3f2',
    500: '#d979eb',
    950: '#000000',
  },
}
SCSS
$custom: #d979eb;
$custom-light: #e7a3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d979eb",
  "rgb": {
    "r": 217,
    "g": 121,
    "b": 235
  },
  "hsl": {
    "h": 290.526,
    "s": 74.026,
    "l": 69.804
  },
  "oklch": {
    "l": 0.7234,
    "c": 0.18582,
    "h": 321.1
  },
  "luminance": 0.34425
}

Semantic roles & 50–950 ramp

primary
#D979EB
secondary
#D5F0D0
accent
#D60F2F
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D979EB

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

Preview Lab → · Contrast checker → · Palette generator →

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