#D982FC#D982FC

#D982FC is a light, vivid purple. Relative luminance 0.377; OKLCH L 74.5% C 0.189 H 315.5°. Best body text is #000000 at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#D982FC
RGBrgb(217, 130, 252)
HSLhsl(283, 95%, 75%)
HSVhsv(283, 48%, 99%)
CMYKcmyk(13.9%, 48.4%, 0%, 1.2%)
CIE-LABlab(67.83, 53.19, -47.58)
CIE-LCHlch(67.83, 71.36, 318.19°)
OKLaboklab(74.48% 0.1347 -0.1322)
OKLCHoklch(74.48% 0.189 315.5)
XYZxyz(54.1659, 37.7468, 96.5091)
Luminance0.3775 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D982FC #A5FC82
analogous
#9C82FC #D982FC #FC82E2
triadic
#D982FC #FCD982 #82FCD9
tetradic
#D982FC #FC9C82 #A5FC82 #82E2FC
square
#D982FC #FC9C82 #A5FC82 #82E2FC
split-complementary
#D982FC #E2FC82 #82FC9C
monochromatic
#B50AF9 #C746FB #D982FC #EBBEFD #F6E1FE

Accessibility & contrast

On white

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

On black

8.55
#D982FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D982FC
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D982FC#FFFFFF#000000##000000
##D982FC1.002.468.558.55
#FFFFFF2.461.0021.0021.00
#0000008.5521.001.001.00
##0000008.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#69A0FF
Deuteranopia (green-blind)
#82A8F9
Tritanopia (blue-blind)
#D794B3
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #d982fc;
/* rgb */ color: rgb(217, 130, 252);
/* oklch */ color: oklch(74.5% 0.189 315.5);
Tailwind
colors: {
  custom: {
    50: '#e7a9fe',
    500: '#d982fc',
    950: '#000000',
  },
}
SCSS
$custom: #d982fc;
$custom-light: #e7a9fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d982fc",
  "rgb": {
    "r": 217,
    "g": 130,
    "b": 252
  },
  "hsl": {
    "h": 282.787,
    "s": 95.313,
    "l": 74.902
  },
  "oklch": {
    "l": 0.74475,
    "c": 0.18876,
    "h": 315.5
  },
  "luminance": 0.37745
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D982FC

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

Preview Lab → · Contrast checker → · Palette generator →

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