#D974FB#D974FB

#D974FB is a light, highly saturated purple. Relative luminance 0.342; OKLCH L 72.5% C 0.209 H 316.9°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#D974FB
RGBrgb(217, 116, 251)
HSLhsl(285, 94%, 72%)
HSVhsv(285, 54%, 98%)
CMYKcmyk(13.5%, 53.8%, 0%, 1.6%)
CIE-LABlab(65.13, 59.96, -51.30)
CIE-LCHlch(65.13, 78.91, 319.45°)
OKLaboklab(72.46% 0.153 -0.1429)
OKLCHoklch(72.46% 0.209 316.9)
XYZxyz(52.2707, 34.2093, 95.0977)
Luminance0.3421 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D974FB #96FB74
analogous
#9674FB #D974FB #FB74DA
triadic
#D974FB #FBD974 #74FBD9
tetradic
#D974FB #FB9674 #96FB74 #74DAFB
square
#D974FB #FB9674 #96FB74 #74DAFB
split-complementary
#D974FB #DAFB74 #74FB96
monochromatic
#B407EE #C939F9 #D974FB #E9AFFD #F7E1FE

Accessibility & contrast

On white

2.68
#D974FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#D974FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D974FB
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D974FB#FFFFFF#000000##000000
##D974FB1.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5598FF
Deuteranopia (green-blind)
#77A1F7
Tritanopia (blue-blind)
#D889AD
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #d974fb;
/* rgb */ color: rgb(217, 116, 251);
/* oklch */ color: oklch(72.5% 0.209 316.9);
Tailwind
colors: {
  custom: {
    50: '#e7a0fd',
    500: '#d974fb',
    950: '#000000',
  },
}
SCSS
$custom: #d974fb;
$custom-light: #e7a0fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d974fb",
  "rgb": {
    "r": 217,
    "g": 116,
    "b": 251
  },
  "hsl": {
    "h": 284.889,
    "s": 94.406,
    "l": 71.961
  },
  "oklch": {
    "l": 0.72461,
    "c": 0.20935,
    "h": 316.9
  },
  "luminance": 0.34208
}

Semantic roles & 50–950 ramp

primary
#D974FB
secondary
#DDF6D4
accent
#E6003A
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #D974FB

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

Preview Lab → · Contrast checker → · Palette generator →

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