#D977FA#D977FA

#D977FA is a light, highly saturated purple. Relative luminance 0.348; OKLCH L 72.8% C 0.204 H 317.0°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#D977FA
RGBrgb(217, 119, 250)
HSLhsl(285, 93%, 72%)
HSVhsv(285, 52%, 98%)
CMYKcmyk(13.2%, 52.4%, 0%, 2%)
CIE-LABlab(65.63, 58.30, -49.96)
CIE-LCHlch(65.63, 76.77, 319.41°)
OKLaboklab(72.82% 0.149 -0.139)
OKLCHoklch(72.82% 0.204 317)
XYZxyz(52.4649, 34.8493, 94.3869)
Luminance0.3485 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D977FA #98FA77
analogous
#9777FA #D977FA #FA77DA
triadic
#D977FA #FAD977 #77FAD9
tetradic
#D977FA #FA9777 #98FA77 #77DAFA
square
#D977FA #FA9777 #98FA77 #77DAFA
split-complementary
#D977FA #DAFA77 #77FA97
monochromatic
#B409EE #C93CF8 #D977FA #E9B2FC #F7E1FE

Accessibility & contrast

On white

2.64
#D977FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#D977FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D977FA
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D977FA#FFFFFF#000000##000000
##D977FA1.002.647.977.97
#FFFFFF2.641.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B99FE
Deuteranopia (green-blind)
#7AA2F7
Tritanopia (blue-blind)
#D88BAE
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #d977fa;
/* rgb */ color: rgb(217, 119, 250);
/* oklch */ color: oklch(72.8% 0.204 317.0);
Tailwind
colors: {
  custom: {
    50: '#e7a2fc',
    500: '#d977fa',
    950: '#000000',
  },
}
SCSS
$custom: #d977fa;
$custom-light: #e7a2fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d977fa",
  "rgb": {
    "r": 217,
    "g": 119,
    "b": 250
  },
  "hsl": {
    "h": 284.885,
    "s": 92.908,
    "l": 72.353
  },
  "oklch": {
    "l": 0.72815,
    "c": 0.20382,
    "h": 317
  },
  "luminance": 0.34847
}

Semantic roles & 50–950 ramp

primary
#D977FA
secondary
#DDF6D5
accent
#E6003A
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D977FA

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

Preview Lab → · Contrast checker → · Palette generator →

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