#D976FB#D976FB

#D976FB is a light, highly saturated purple. Relative luminance 0.347; OKLCH L 72.7% C 0.206 H 316.8°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#D976FB
RGBrgb(217, 118, 251)
HSLhsl(285, 94%, 72%)
HSVhsv(285, 53%, 98%)
CMYKcmyk(13.5%, 53%, 0%, 1.6%)
CIE-LABlab(65.50, 58.98, -50.72)
CIE-LCHlch(65.50, 77.79, 319.31°)
OKLaboklab(72.73% 0.1504 -0.1413)
OKLCHoklch(72.73% 0.206 316.8)
XYZxyz(52.5037, 34.6754, 95.1754)
Luminance0.3467 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D976FB #98FB76
analogous
#9776FB #D976FB #FB76DA
triadic
#D976FB #FBD976 #76FBD9
tetradic
#D976FB #FB9776 #98FB76 #76DAFB
square
#D976FB #FB9776 #98FB76 #76DAFB
split-complementary
#D976FB #DAFB76 #76FB97
monochromatic
#B407F0 #C93BF9 #D976FB #E9B1FD #F7E1FE

Accessibility & contrast

On white

2.65
#D976FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.93
#D976FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D976FB
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D976FB#FFFFFF#000000##000000
##D976FB1.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5899FF
Deuteranopia (green-blind)
#79A2F7
Tritanopia (blue-blind)
#D88BAE
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #d976fb;
/* rgb */ color: rgb(217, 118, 251);
/* oklch */ color: oklch(72.7% 0.206 316.8);
Tailwind
colors: {
  custom: {
    50: '#e7a1fd',
    500: '#d976fb',
    950: '#000000',
  },
}
SCSS
$custom: #d976fb;
$custom-light: #e7a1fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d976fb",
  "rgb": {
    "r": 217,
    "g": 118,
    "b": 251
  },
  "hsl": {
    "h": 284.662,
    "s": 94.326,
    "l": 72.353
  },
  "oklch": {
    "l": 0.72731,
    "c": 0.20634,
    "h": 316.8
  },
  "luminance": 0.34674
}

Semantic roles & 50–950 ramp

primary
#D976FB
secondary
#DDF6D5
accent
#E6003B
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #D976FB

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

Preview Lab → · Contrast checker → · Palette generator →

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