#D980F9#D980F9

#D980F9 is a light, vivid purple. Relative luminance 0.370; OKLCH L 74.0% C 0.189 H 316.5°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#D980F9
RGBrgb(217, 128, 249)
HSLhsl(284, 91%, 74%)
HSVhsv(284, 49%, 98%)
CMYKcmyk(12.9%, 48.6%, 0%, 2.4%)
CIE-LABlab(67.30, 53.60, -46.77)
CIE-LCHlch(67.30, 71.14, 318.89°)
OKLaboklab(74.03% 0.137 -0.1299)
OKLCHoklch(74.03% 0.189 316.5)
XYZxyz(53.4308, 37.0313, 93.9373)
Luminance0.3703 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D980F9 #A0F980
analogous
#9D80F9 #D980F9 #F980DD
triadic
#D980F9 #F9D980 #80F9D9
tetradic
#D980F9 #F99D80 #A0F980 #80DDF9
square
#D980F9 #F99D80 #A0F980 #80DDF9
split-complementary
#D980F9 #DDF980 #80F99D
monochromatic
#B60BF3 #C846F6 #D980F9 #EABAFC #F6E2FE

Accessibility & contrast

On white

2.50
#D980F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.41
#D980F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D980F9
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D980F9#FFFFFF#000000##000000
##D980F91.002.508.418.41
#FFFFFF2.501.0021.0021.00
#0000008.4121.001.001.00
##0000008.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#689EFD
Deuteranopia (green-blind)
#82A7F6
Tritanopia (blue-blind)
#D892B1
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #d980f9;
/* rgb */ color: rgb(217, 128, 249);
/* oklch */ color: oklch(74.0% 0.189 316.5);
Tailwind
colors: {
  custom: {
    50: '#e7a7fc',
    500: '#d980f9',
    950: '#000000',
  },
}
SCSS
$custom: #d980f9;
$custom-light: #e7a7fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d980f9",
  "rgb": {
    "r": 217,
    "g": 128,
    "b": 249
  },
  "hsl": {
    "h": 284.132,
    "s": 90.977,
    "l": 73.922
  },
  "oklch": {
    "l": 0.74033,
    "c": 0.1888,
    "h": 316.5
  },
  "luminance": 0.3703
}

Semantic roles & 50–950 ramp

primary
#D980F9
secondary
#DEF6D5
accent
#E6003D
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #D980F9

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

Preview Lab → · Contrast checker → · Palette generator →

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