#D980FA#D980FA

#D980FA is a light, vivid purple. Relative luminance 0.371; OKLCH L 74.1% C 0.190 H 316.3°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#D980FA
RGBrgb(217, 128, 250)
HSLhsl(284, 92%, 74%)
HSVhsv(284, 49%, 98%)
CMYKcmyk(13.2%, 48.8%, 0%, 2%)
CIE-LABlab(67.35, 53.80, -47.25)
CIE-LCHlch(67.35, 71.60, 318.71°)
OKLaboklab(74.08% 0.1372 -0.1312)
OKLCHoklch(74.08% 0.19 316.3)
XYZxyz(53.5872, 37.0938, 94.7609)
Luminance0.3709 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D980FA #A1FA80
analogous
#9C80FA #D980FA #FA80DE
triadic
#D980FA #FAD980 #80FAD9
tetradic
#D980FA #FA9C80 #A1FA80 #80DEFA
square
#D980FA #FA9C80 #A1FA80 #80DEFA
split-complementary
#D980FA #DEFA80 #80FA9C
monochromatic
#B60AF5 #C745F8 #D980FA #EBBBFC #F6E2FE

Accessibility & contrast

On white

2.49
#D980FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.42
#D980FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D980FA
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D980FA#FFFFFF#000000##000000
##D980FA1.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#689EFE
Deuteranopia (green-blind)
#82A7F7
Tritanopia (blue-blind)
#D892B2
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #d980fa;
/* rgb */ color: rgb(217, 128, 250);
/* oklch */ color: oklch(74.1% 0.190 316.3);
Tailwind
colors: {
  custom: {
    50: '#e7a7fc',
    500: '#d980fa',
    950: '#000000',
  },
}
SCSS
$custom: #d980fa;
$custom-light: #e7a7fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d980fa",
  "rgb": {
    "r": 217,
    "g": 128,
    "b": 250
  },
  "hsl": {
    "h": 283.77,
    "s": 92.424,
    "l": 74.118
  },
  "oklch": {
    "l": 0.74083,
    "c": 0.18983,
    "h": 316.3
  },
  "luminance": 0.37092
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D980FA

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

Preview Lab → · Contrast checker → · Palette generator →

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