#D980FB#D980FB

#D980FB is a light, vivid purple. Relative luminance 0.372; OKLCH L 74.1% C 0.191 H 316.0°. Best body text is #000000 at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#D980FB
RGBrgb(217, 128, 251)
HSLhsl(283, 94%, 74%)
HSVhsv(283, 49%, 98%)
CMYKcmyk(13.5%, 49%, 0%, 1.6%)
CIE-LABlab(67.39, 54.00, -47.72)
CIE-LCHlch(67.39, 72.07, 318.53°)
OKLaboklab(74.13% 0.1373 -0.1326)
OKLCHoklch(74.13% 0.191 316)
XYZxyz(53.7444, 37.1567, 95.5889)
Luminance0.3715 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D980FB #A2FB80
analogous
#9C80FB #D980FB #FB80DF
triadic
#D980FB #FBD980 #80FBD9
tetradic
#D980FB #FB9C80 #A2FB80 #80DFFB
square
#D980FB #FB9C80 #A2FB80 #80DFFB
split-complementary
#D980FB #DFFB80 #80FB9C
monochromatic
#B509F7 #C745F9 #D980FB #EBBBFD #F6E1FE

Accessibility & contrast

On white

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

On black

8.43
#D980FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D980FB
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D980FB#FFFFFF#000000##000000
##D980FB1.002.498.438.43
#FFFFFF2.491.0021.0021.00
#0000008.4321.001.001.00
##0000008.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#679FFF
Deuteranopia (green-blind)
#81A7F8
Tritanopia (blue-blind)
#D792B2
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #d980fb;
/* rgb */ color: rgb(217, 128, 251);
/* oklch */ color: oklch(74.1% 0.191 316.0);
Tailwind
colors: {
  custom: {
    50: '#e7a7fd',
    500: '#d980fb',
    950: '#000000',
  },
}
SCSS
$custom: #d980fb;
$custom-light: #e7a7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d980fb",
  "rgb": {
    "r": 217,
    "g": 128,
    "b": 251
  },
  "hsl": {
    "h": 283.415,
    "s": 93.893,
    "l": 74.314
  },
  "oklch": {
    "l": 0.74134,
    "c": 0.19087,
    "h": 316
  },
  "luminance": 0.37155
}

Semantic roles & 50–950 ramp

primary
#D980FB
secondary
#DEF6D5
accent
#E6003F
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161018
muted
#847F86

Preview Lab

Preview with #D980FB

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

Preview Lab → · Contrast checker → · Palette generator →

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