#D982FD#D982FD

#D982FD is a light, vivid purple. Relative luminance 0.378; OKLCH L 74.5% C 0.190 H 315.3°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#D982FD
RGBrgb(217, 130, 253)
HSLhsl(282, 97%, 75%)
HSVhsv(282, 49%, 99%)
CMYKcmyk(14.2%, 48.6%, 0%, 0.8%)
CIE-LABlab(67.88, 53.39, -48.05)
CIE-LCHlch(67.88, 71.83, 318.01°)
OKLaboklab(74.52% 0.1348 -0.1336)
OKLCHoklch(74.52% 0.19 315.3)
XYZxyz(54.3248, 37.8104, 97.3459)
Luminance0.3781 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D982FD #A6FD82
analogous
#9B82FD #D982FD #FD82E3
triadic
#D982FD #FDD982 #82FDD9
tetradic
#D982FD #FD9B82 #A6FD82 #82E3FD
square
#D982FD #FD9B82 #A6FD82 #82E3FD
split-complementary
#D982FD #E3FD82 #82FD9B
monochromatic
#B40AFB #C746FC #D982FD #EBBEFE #F6E1FF

Accessibility & contrast

On white

2.45
#D982FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.56
#D982FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D982FD
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D982FD#FFFFFF#000000##000000
##D982FD1.002.458.568.56
#FFFFFF2.451.0021.0021.00
#0000008.5621.001.001.00
##0000008.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#68A0FF
Deuteranopia (green-blind)
#82A8FA
Tritanopia (blue-blind)
#D795B4
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #d982fd;
/* rgb */ color: rgb(217, 130, 253);
/* oklch */ color: oklch(74.5% 0.190 315.3);
Tailwind
colors: {
  custom: {
    50: '#e7a9fe',
    500: '#d982fd',
    950: '#000000',
  },
}
SCSS
$custom: #d982fd;
$custom-light: #e7a9fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d982fd",
  "rgb": {
    "r": 217,
    "g": 130,
    "b": 253
  },
  "hsl": {
    "h": 282.439,
    "s": 96.85,
    "l": 75.098
  },
  "oklch": {
    "l": 0.74525,
    "c": 0.18981,
    "h": 315.3
  },
  "luminance": 0.37809
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D982FD

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

Preview Lab → · Contrast checker → · Palette generator →

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