#D980F3#D980F3

#D980F3 is a light, vivid purple. Relative luminance 0.367; OKLCH L 73.7% C 0.183 H 318.2°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#D980F3
RGBrgb(217, 128, 243)
HSLhsl(286, 83%, 73%)
HSVhsv(286, 47%, 95%)
CMYKcmyk(10.7%, 47.3%, 0%, 4.7%)
CIE-LABlab(67.02, 52.41, -43.92)
CIE-LCHlch(67.02, 68.38, 320.04°)
OKLaboklab(73.74% 0.1362 -0.1216)
OKLCHoklch(73.74% 0.183 318.2)
XYZxyz(52.5099, 36.6629, 89.0873)
Luminance0.3666 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D980F3 #9AF380
analogous
#A080F3 #D980F3 #F380D3
triadic
#D980F3 #F3D980 #80F3D9
tetradic
#D980F3 #F3A080 #9AF380 #80D3F3
square
#D980F3 #F3A080 #9AF380 #80D3F3
split-complementary
#D980F3 #D3F380 #80F3A0
monochromatic
#B515E3 #C848EE #D980F3 #EAB8F8 #F7E3FC

Accessibility & contrast

On white

2.52
#D980F3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.33
#D980F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D980F3
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D980F3#FFFFFF#000000##000000
##D980F31.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9DF7
Deuteranopia (green-blind)
#85A6F0
Tritanopia (blue-blind)
#D990AE
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #d980f3;
/* rgb */ color: rgb(217, 128, 243);
/* oklch */ color: oklch(73.7% 0.183 318.2);
Tailwind
colors: {
  custom: {
    50: '#e7a7f7',
    500: '#d980f3',
    950: '#000000',
  },
}
SCSS
$custom: #d980f3;
$custom-light: #e7a7f7;
$custom-dark: #000000;
JSON
{
  "hex": "#d980f3",
  "rgb": {
    "r": 217,
    "g": 128,
    "b": 243
  },
  "hsl": {
    "h": 286.435,
    "s": 82.734,
    "l": 72.745
  },
  "oklch": {
    "l": 0.73737,
    "c": 0.18263,
    "h": 318.2
  },
  "luminance": 0.36661
}

Semantic roles & 50–950 ramp

primary
#D980F3
secondary
#DDF4D7
accent
#DF0637
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #D980F3

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

Preview Lab → · Contrast checker → · Palette generator →

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