#D974FA#D974FA

#D974FA is a light, highly saturated purple. Relative luminance 0.341; OKLCH L 72.4% C 0.208 H 317.2°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#D974FA
RGBrgb(217, 116, 250)
HSLhsl(285, 93%, 72%)
HSVhsv(285, 54%, 98%)
CMYKcmyk(13.2%, 53.6%, 0%, 2%)
CIE-LABlab(65.08, 59.76, -50.83)
CIE-LCHlch(65.08, 78.45, 319.62°)
OKLaboklab(72.41% 0.1529 -0.1416)
OKLCHoklch(72.41% 0.208 317.2)
XYZxyz(52.1135, 34.1465, 94.2697)
Luminance0.3414 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D974FA #95FA74
analogous
#9674FA #D974FA #FA74D8
triadic
#D974FA #FAD974 #74FAD9
tetradic
#D974FA #FA9674 #95FA74 #74D8FA
square
#D974FA #FA9674 #95FA74 #74D8FA
split-complementary
#D974FA #D8FA74 #74FA96
monochromatic
#B308EB #C939F8 #D974FA #E9AFFC #F7E1FE

Accessibility & contrast

On white

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

On black

7.83
#D974FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D974FA
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D974FA#FFFFFF#000000##000000
##D974FA1.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5697FE
Deuteranopia (green-blind)
#78A1F6
Tritanopia (blue-blind)
#D889AC
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #d974fa;
/* rgb */ color: rgb(217, 116, 250);
/* oklch */ color: oklch(72.4% 0.208 317.2);
Tailwind
colors: {
  custom: {
    50: '#e7a0fc',
    500: '#d974fa',
    950: '#000000',
  },
}
SCSS
$custom: #d974fa;
$custom-light: #e7a0fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d974fa",
  "rgb": {
    "r": 217,
    "g": 116,
    "b": 250
  },
  "hsl": {
    "h": 285.224,
    "s": 93.056,
    "l": 71.765
  },
  "oklch": {
    "l": 0.72409,
    "c": 0.20836,
    "h": 317.2
  },
  "luminance": 0.34145
}

Semantic roles & 50–950 ramp

primary
#D974FA
secondary
#DCF6D4
accent
#E60039
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D974FA

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

Preview Lab → · Contrast checker → · Palette generator →

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