#D981FB#D981FB

#D981FB is a light, vivid purple. Relative luminance 0.374; OKLCH L 74.3% C 0.189 H 315.9°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#D981FB
RGBrgb(217, 129, 251)
HSLhsl(283, 94%, 75%)
HSVhsv(283, 49%, 98%)
CMYKcmyk(13.5%, 48.6%, 0%, 1.6%)
CIE-LABlab(67.59, 53.49, -47.41)
CIE-LCHlch(67.59, 71.48, 318.45°)
OKLaboklab(74.28% 0.1359 -0.1317)
OKLCHoklch(74.28% 0.189 315.9)
XYZxyz(53.8755, 37.4189, 95.6326)
Luminance0.3742 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D981FB #A3FB81
analogous
#9C81FB #D981FB #FB81E0
triadic
#D981FB #FBD981 #81FBD9
tetradic
#D981FB #FB9C81 #A3FB81 #81E0FB
square
#D981FB #FB9C81 #A3FB81 #81E0FB
split-complementary
#D981FB #E0FB81 #81FB9C
monochromatic
#B50AF7 #C746F9 #D981FB #EBBCFD #F6E1FE

Accessibility & contrast

On white

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

On black

8.48
#D981FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D981FB
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D981FB#FFFFFF#000000##000000
##D981FB1.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#689FFF
Deuteranopia (green-blind)
#82A7F8
Tritanopia (blue-blind)
#D793B3
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #d981fb;
/* rgb */ color: rgb(217, 129, 251);
/* oklch */ color: oklch(74.3% 0.189 315.9);
Tailwind
colors: {
  custom: {
    50: '#e7a8fd',
    500: '#d981fb',
    950: '#000000',
  },
}
SCSS
$custom: #d981fb;
$custom-light: #e7a8fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d981fb",
  "rgb": {
    "r": 217,
    "g": 129,
    "b": 251
  },
  "hsl": {
    "h": 283.279,
    "s": 93.846,
    "l": 74.51
  },
  "oklch": {
    "l": 0.74279,
    "c": 0.18929,
    "h": 315.9
  },
  "luminance": 0.37417
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D981FB

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

Preview Lab → · Contrast checker → · Palette generator →

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