#D982F9#D982F9

#D982F9 is a light, vivid purple. Relative luminance 0.376; OKLCH L 74.3% C 0.186 H 316.4°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#D982F9
RGBrgb(217, 130, 249)
HSLhsl(284, 91%, 74%)
HSVhsv(284, 48%, 98%)
CMYKcmyk(12.9%, 47.8%, 0%, 2.4%)
CIE-LABlab(67.69, 52.58, -46.16)
CIE-LCHlch(67.69, 69.97, 318.73°)
OKLaboklab(74.33% 0.1343 -0.1281)
OKLCHoklch(74.33% 0.186 316.4)
XYZxyz(53.6942, 37.5582, 94.0252)
Luminance0.3756 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D982F9 #A2F982
analogous
#9E82F9 #D982F9 #F982DD
triadic
#D982F9 #F9D982 #82F9D9
tetradic
#D982F9 #F99E82 #A2F982 #82DDF9
square
#D982F9 #F99E82 #A2F982 #82DDF9
split-complementary
#D982F9 #DDF982 #82F99E
monochromatic
#B50DF3 #C748F6 #D982F9 #EBBCFC #F6E2FE

Accessibility & contrast

On white

2.47
#D982F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.51
#D982F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D982F9
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D982F9#FFFFFF#000000##000000
##D982F91.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9FFD
Deuteranopia (green-blind)
#84A8F6
Tritanopia (blue-blind)
#D893B2
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #d982f9;
/* rgb */ color: rgb(217, 130, 249);
/* oklch */ color: oklch(74.3% 0.186 316.4);
Tailwind
colors: {
  custom: {
    50: '#e7a9fb',
    500: '#d982f9',
    950: '#000000',
  },
}
SCSS
$custom: #d982f9;
$custom-light: #e7a9fb;
$custom-dark: #000000;
JSON
{
  "hex": "#d982f9",
  "rgb": {
    "r": 217,
    "g": 130,
    "b": 249
  },
  "hsl": {
    "h": 283.866,
    "s": 90.84,
    "l": 74.314
  },
  "oklch": {
    "l": 0.74325,
    "c": 0.18563,
    "h": 316.4
  },
  "luminance": 0.37557
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D982F9

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

Preview Lab → · Contrast checker → · Palette generator →

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