#D982FB#D982FB

#D982FB is a light, vivid purple. Relative luminance 0.377; OKLCH L 74.4% C 0.188 H 315.8°. Best body text is #000000 at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#D982FB
RGBrgb(217, 130, 251)
HSLhsl(283, 94%, 75%)
HSVhsv(283, 48%, 98%)
CMYKcmyk(13.5%, 48.2%, 0%, 1.6%)
CIE-LABlab(67.79, 52.99, -47.10)
CIE-LCHlch(67.79, 70.90, 318.36°)
OKLaboklab(74.43% 0.1346 -0.1308)
OKLCHoklch(74.43% 0.188 315.8)
XYZxyz(54.0078, 37.6836, 95.6768)
Luminance0.3768 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D982FB #A4FB82
analogous
#9C82FB #D982FB #FB82E1
triadic
#D982FB #FBD982 #82FBD9
tetradic
#D982FB #FB9C82 #A4FB82 #82E1FB
square
#D982FB #FB9C82 #A4FB82 #82E1FB
split-complementary
#D982FB #E1FB82 #82FB9C
monochromatic
#B50BF7 #C747F9 #D982FB #EBBDFD #F6E1FE

Accessibility & contrast

On white

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

On black

8.54
#D982FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D982FB
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D982FB#FFFFFF#000000##000000
##D982FB1.002.468.548.54
#FFFFFF2.461.0021.0021.00
#0000008.5421.001.001.00
##0000008.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6AA0FF
Deuteranopia (green-blind)
#83A8F8
Tritanopia (blue-blind)
#D794B3
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #d982fb;
/* rgb */ color: rgb(217, 130, 251);
/* oklch */ color: oklch(74.4% 0.188 315.8);
Tailwind
colors: {
  custom: {
    50: '#e7a9fd',
    500: '#d982fb',
    950: '#000000',
  },
}
SCSS
$custom: #d982fb;
$custom-light: #e7a9fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d982fb",
  "rgb": {
    "r": 217,
    "g": 130,
    "b": 251
  },
  "hsl": {
    "h": 283.14,
    "s": 93.798,
    "l": 74.706
  },
  "oklch": {
    "l": 0.74425,
    "c": 0.18771,
    "h": 315.8
  },
  "luminance": 0.37682
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D982FB

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

Preview Lab → · Contrast checker → · Palette generator →

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