#D982FA#D982FA

#D982FA is a light, vivid purple. Relative luminance 0.376; OKLCH L 74.4% C 0.187 H 316.1°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#D982FA
RGBrgb(217, 130, 250)
HSLhsl(284, 92%, 75%)
HSVhsv(284, 48%, 98%)
CMYKcmyk(13.2%, 48%, 0%, 2%)
CIE-LABlab(67.74, 52.78, -46.63)
CIE-LCHlch(67.74, 70.43, 318.54°)
OKLaboklab(74.38% 0.1345 -0.1295)
OKLCHoklch(74.38% 0.187 316.1)
XYZxyz(53.8506, 37.6207, 94.8488)
Luminance0.3762 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D982FA #A3FA82
analogous
#9D82FA #D982FA #FA82DF
triadic
#D982FA #FAD982 #82FAD9
tetradic
#D982FA #FA9D82 #A3FA82 #82DFFA
square
#D982FA #FA9D82 #A3FA82 #82DFFA
split-complementary
#D982FA #DFFA82 #82FA9D
monochromatic
#B50CF5 #C747F8 #D982FA #EBBDFC #F6E2FE

Accessibility & contrast

On white

2.46
#D982FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.52
#D982FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D982FA
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D982FA#FFFFFF#000000##000000
##D982FA1.002.468.528.52
#FFFFFF2.461.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6AA0FE
Deuteranopia (green-blind)
#84A8F7
Tritanopia (blue-blind)
#D894B3
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #d982fa;
/* rgb */ color: rgb(217, 130, 250);
/* oklch */ color: oklch(74.4% 0.187 316.1);
Tailwind
colors: {
  custom: {
    50: '#e7a9fc',
    500: '#d982fa',
    950: '#000000',
  },
}
SCSS
$custom: #d982fa;
$custom-light: #e7a9fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d982fa",
  "rgb": {
    "r": 217,
    "g": 130,
    "b": 250
  },
  "hsl": {
    "h": 283.5,
    "s": 92.308,
    "l": 74.51
  },
  "oklch": {
    "l": 0.74375,
    "c": 0.18667,
    "h": 316.1
  },
  "luminance": 0.37619
}

Semantic roles & 50–950 ramp

primary
#D982FA
secondary
#DEF6D5
accent
#E6003F
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #D982FA

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

Preview Lab → · Contrast checker → · Palette generator →

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