#D984FB#D984FB

#D984FB is a light, vivid purple. Relative luminance 0.382; OKLCH L 74.7% C 0.185 H 315.6°. Best body text is #000000 at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#D984FB
RGBrgb(217, 132, 251)
HSLhsl(283, 94%, 75%)
HSVhsv(283, 47%, 98%)
CMYKcmyk(13.5%, 47.4%, 0%, 1.6%)
CIE-LABlab(68.18, 51.96, -46.48)
CIE-LCHlch(68.18, 69.72, 318.19°)
OKLaboklab(74.72% 0.1319 -0.129)
OKLCHoklch(74.72% 0.185 315.6)
XYZxyz(54.2765, 38.2208, 95.7663)
Luminance0.3822 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D984FB #A6FB84
analogous
#9D84FB #D984FB #FB84E2
triadic
#D984FB #FBD984 #84FBD9
tetradic
#D984FB #FB9D84 #A6FB84 #84E2FB
square
#D984FB #FB9D84 #A6FB84 #84E2FB
split-complementary
#D984FB #E2FB84 #84FB9D
monochromatic
#B40DF7 #C749F9 #D984FB #EBBFFD #F6E1FE

Accessibility & contrast

On white

2.43
#D984FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.64
#D984FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D984FB
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D984FB#FFFFFF#000000##000000
##D984FB1.002.438.648.64
#FFFFFF2.431.0021.0021.00
#0000008.6421.001.001.00
##0000008.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6CA1FF
Deuteranopia (green-blind)
#85A9F8
Tritanopia (blue-blind)
#D795B4
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #d984fb;
/* rgb */ color: rgb(217, 132, 251);
/* oklch */ color: oklch(74.7% 0.185 315.6);
Tailwind
colors: {
  custom: {
    50: '#e7aafd',
    500: '#d984fb',
    950: '#000000',
  },
}
SCSS
$custom: #d984fb;
$custom-light: #e7aafd;
$custom-dark: #000000;
JSON
{
  "hex": "#d984fb",
  "rgb": {
    "r": 217,
    "g": 132,
    "b": 251
  },
  "hsl": {
    "h": 282.857,
    "s": 93.701,
    "l": 75.098
  },
  "oklch": {
    "l": 0.74719,
    "c": 0.18453,
    "h": 315.6
  },
  "luminance": 0.38219
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D984FB

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

Preview Lab → · Contrast checker → · Palette generator →

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