#D980FC#D980FC

#D980FC is a light, vivid purple. Relative luminance 0.372; OKLCH L 74.2% C 0.192 H 315.7°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#D980FC
RGBrgb(217, 128, 252)
HSLhsl(283, 95%, 75%)
HSVhsv(283, 49%, 99%)
CMYKcmyk(13.9%, 49.2%, 0%, 1.2%)
CIE-LABlab(67.44, 54.20, -48.19)
CIE-LCHlch(67.44, 72.53, 318.36°)
OKLaboklab(74.18% 0.1374 -0.134)
OKLCHoklch(74.18% 0.192 315.7)
XYZxyz(53.9024, 37.2199, 96.4213)
Luminance0.3722 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D980FC #A3FC80
analogous
#9B80FC #D980FC #FC80E1
triadic
#D980FC #FCD980 #80FCD9
tetradic
#D980FC #FC9B80 #A3FC80 #80E1FC
square
#D980FC #FC9B80 #A3FC80 #80E1FC
split-complementary
#D980FC #E1FC80 #80FC9B
monochromatic
#B508F9 #C744FB #D980FC #EBBCFD #F6E1FE

Accessibility & contrast

On white

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

On black

8.44
#D980FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D980FC
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D980FC#FFFFFF#000000##000000
##D980FC1.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#669FFF
Deuteranopia (green-blind)
#81A7F9
Tritanopia (blue-blind)
#D793B3
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #d980fc;
/* rgb */ color: rgb(217, 128, 252);
/* oklch */ color: oklch(74.2% 0.192 315.7);
Tailwind
colors: {
  custom: {
    50: '#e7a7fe',
    500: '#d980fc',
    950: '#000000',
  },
}
SCSS
$custom: #d980fc;
$custom-light: #e7a7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d980fc",
  "rgb": {
    "r": 217,
    "g": 128,
    "b": 252
  },
  "hsl": {
    "h": 283.065,
    "s": 95.385,
    "l": 74.51
  },
  "oklch": {
    "l": 0.74184,
    "c": 0.19191,
    "h": 315.7
  },
  "luminance": 0.37218
}

Semantic roles & 50–950 ramp

primary
#D980FC
secondary
#DEF7D4
accent
#E60041
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161018
muted
#847F86

Preview Lab

Preview with #D980FC

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

Preview Lab → · Contrast checker → · Palette generator →

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