#D980EB#D980EB

#D980EB is a light, vivid purple. Relative luminance 0.362; OKLCH L 73.4% C 0.175 H 320.7°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#D980EB
RGBrgb(217, 128, 235)
HSLhsl(290, 73%, 71%)
HSVhsv(290, 46%, 92%)
CMYKcmyk(7.7%, 45.5%, 0%, 7.8%)
CIE-LABlab(66.67, 50.85, -40.07)
CIE-LCHlch(66.67, 64.75, 321.76°)
OKLaboklab(73.35% 0.135 -0.1105)
OKLCHoklch(73.35% 0.175 320.7)
XYZxyz(51.3280, 36.1902, 82.8628)
Luminance0.3619 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D980EB #92EB80
analogous
#A380EB #D980EB #EB80C7
triadic
#D980EB #EBD980 #80EBD9
tetradic
#D980EB #EBA380 #92EB80 #80C7EB
square
#D980EB #EBA380 #92EB80 #80C7EB
split-complementary
#D980EB #C7EB80 #80EBA3
monochromatic
#B221D0 #C94BE3 #D980EB #E9B5F3 #F7E5FB

Accessibility & contrast

On white

2.55
#D980EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.24
#D980EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D980EB
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D980EB#FFFFFF#000000##000000
##D980EB1.002.558.248.24
#FFFFFF2.551.0021.0021.00
#0000008.2421.001.001.00
##0000008.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#709CEF
Deuteranopia (green-blind)
#89A6E8
Tritanopia (blue-blind)
#DB8EAB
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #d980eb;
/* rgb */ color: rgb(217, 128, 235);
/* oklch */ color: oklch(73.4% 0.175 320.7);
Tailwind
colors: {
  custom: {
    50: '#e7a7f2',
    500: '#d980eb',
    950: '#000000',
  },
}
SCSS
$custom: #d980eb;
$custom-light: #e7a7f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d980eb",
  "rgb": {
    "r": 217,
    "g": 128,
    "b": 235
  },
  "hsl": {
    "h": 289.907,
    "s": 72.789,
    "l": 71.176
  },
  "oklch": {
    "l": 0.73353,
    "c": 0.17451,
    "h": 320.7
  },
  "luminance": 0.36188
}

Semantic roles & 50–950 ramp

primary
#D980EB
secondary
#DAF1D5
accent
#D51132
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #D980EB

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

Preview Lab → · Contrast checker → · Palette generator →

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