#D977FB#D977FB

#D977FB is a light, highly saturated purple. Relative luminance 0.349; OKLCH L 72.9% C 0.205 H 316.7°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#D977FB
RGBrgb(217, 119, 251)
HSLhsl(285, 94%, 73%)
HSVhsv(285, 53%, 98%)
CMYKcmyk(13.5%, 52.6%, 0%, 1.6%)
CIE-LABlab(65.68, 58.49, -50.43)
CIE-LCHlch(65.68, 77.23, 319.24°)
OKLaboklab(72.87% 0.1491 -0.1404)
OKLCHoklch(72.87% 0.205 316.7)
XYZxyz(52.6221, 34.9122, 95.2148)
Luminance0.3491 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D977FB #99FB77
analogous
#9777FB #D977FB #FB77DB
triadic
#D977FB #FBD977 #77FBD9
tetradic
#D977FB #FB9777 #99FB77 #77DBFB
square
#D977FB #FB9777 #99FB77 #77DBFB
split-complementary
#D977FB #DBFB77 #77FB97
monochromatic
#B407F1 #C83CF9 #D977FB #EAB2FD #F7E1FE

Accessibility & contrast

On white

2.63
#D977FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.98
#D977FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D977FB
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D977FB#FFFFFF#000000##000000
##D977FB1.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d977fb;
/* rgb */ color: rgb(217, 119, 251);
/* oklch */ color: oklch(72.9% 0.205 316.7);
Tailwind
colors: {
  custom: {
    50: '#e7a2fd',
    500: '#d977fb',
    950: '#000000',
  },
}
SCSS
$custom: #d977fb;
$custom-light: #e7a2fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d977fb",
  "rgb": {
    "r": 217,
    "g": 119,
    "b": 251
  },
  "hsl": {
    "h": 284.545,
    "s": 94.286,
    "l": 72.549
  },
  "oklch": {
    "l": 0.72867,
    "c": 0.20481,
    "h": 316.7
  },
  "luminance": 0.3491
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D977FB

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

Preview Lab → · Contrast checker → · Palette generator →

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