#D981FA#D981FA

#D981FA is a light, vivid purple. Relative luminance 0.374; OKLCH L 74.2% C 0.188 H 316.2°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#D981FA
RGBrgb(217, 129, 250)
HSLhsl(284, 92%, 74%)
HSVhsv(284, 48%, 98%)
CMYKcmyk(13.2%, 48.4%, 0%, 2%)
CIE-LABlab(67.54, 53.29, -46.94)
CIE-LCHlch(67.54, 71.02, 318.63°)
OKLaboklab(74.23% 0.1358 -0.1304)
OKLCHoklch(74.23% 0.188 316.2)
XYZxyz(53.7183, 37.3560, 94.8046)
Luminance0.3735 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D981FA #A2FA81
analogous
#9D81FA #D981FA #FA81DF
triadic
#D981FA #FAD981 #81FAD9
tetradic
#D981FA #FA9D81 #A2FA81 #81DFFA
square
#D981FA #FA9D81 #A2FA81 #81DFFA
split-complementary
#D981FA #DFFA81 #81FA9D
monochromatic
#B50BF5 #C746F8 #D981FA #EBBCFC #F6E2FE

Accessibility & contrast

On white

2.48
#D981FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.47
#D981FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D981FA
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D981FA#FFFFFF#000000##000000
##D981FA1.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#699FFE
Deuteranopia (green-blind)
#83A7F7
Tritanopia (blue-blind)
#D893B2
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #d981fa;
/* rgb */ color: rgb(217, 129, 250);
/* oklch */ color: oklch(74.2% 0.188 316.2);
Tailwind
colors: {
  custom: {
    50: '#e7a8fc',
    500: '#d981fa',
    950: '#000000',
  },
}
SCSS
$custom: #d981fa;
$custom-light: #e7a8fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d981fa",
  "rgb": {
    "r": 217,
    "g": 129,
    "b": 250
  },
  "hsl": {
    "h": 283.636,
    "s": 92.366,
    "l": 74.314
  },
  "oklch": {
    "l": 0.74229,
    "c": 0.18826,
    "h": 316.2
  },
  "luminance": 0.37354
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D981FA

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

Preview Lab → · Contrast checker → · Palette generator →

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