#D971F8#D971F8

#D971F8 is a light, highly saturated purple. Relative luminance 0.333; OKLCH L 71.9% C 0.211 H 317.9°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#D971F8
RGBrgb(217, 113, 248)
HSLhsl(286, 91%, 71%)
HSVhsv(286, 54%, 97%)
CMYKcmyk(12.5%, 54.4%, 0%, 2.7%)
CIE-LABlab(64.44, 60.81, -50.75)
CIE-LCHlch(64.44, 79.20, 320.16°)
OKLaboklab(71.91% 0.1566 -0.1413)
OKLCHoklch(71.91% 0.211 317.9)
XYZxyz(51.4613, 33.3412, 92.5135)
Luminance0.3334 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D971F8 #90F871
analogous
#9571F8 #D971F8 #F871D4
triadic
#D971F8 #F8D971 #71F8D9
tetradic
#D971F8 #F89571 #90F871 #71D4F8
square
#D971F8 #F89571 #90F871 #71D4F8
split-complementary
#D971F8 #D4F871 #71F895
monochromatic
#B20BE3 #C937F5 #D971F8 #E9ABFB #F7E2FE

Accessibility & contrast

On white

2.74
#D971F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#D971F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D971F8
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D971F8#FFFFFF#000000##000000
##D971F81.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5395FC
Deuteranopia (green-blind)
#77A0F4
Tritanopia (blue-blind)
#D986AA
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d971f8;
/* rgb */ color: rgb(217, 113, 248);
/* oklch */ color: oklch(71.9% 0.211 317.9);
Tailwind
colors: {
  custom: {
    50: '#e79efb',
    500: '#d971f8',
    950: '#000000',
  },
}
SCSS
$custom: #d971f8;
$custom-light: #e79efb;
$custom-dark: #000000;
JSON
{
  "hex": "#d971f8",
  "rgb": {
    "r": 217,
    "g": 113,
    "b": 248
  },
  "hsl": {
    "h": 286.222,
    "s": 90.604,
    "l": 70.784
  },
  "oklch": {
    "l": 0.71905,
    "c": 0.21089,
    "h": 317.9
  },
  "luminance": 0.33339
}

Semantic roles & 50–950 ramp

primary
#D971F8
secondary
#D9F5D0
accent
#E60035
background
#FEFAFF
surface
#FDF3FF
border
#D5CDD7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D971F8

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

Preview Lab → · Contrast checker → · Palette generator →

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