#D971FB#D971FB

#D971FB is a light, highly saturated purple. Relative luminance 0.335; OKLCH L 72.1% C 0.214 H 317.1°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#D971FB
RGBrgb(217, 113, 251)
HSLhsl(285, 95%, 71%)
HSVhsv(285, 55%, 98%)
CMYKcmyk(13.5%, 55%, 0%, 1.6%)
CIE-LABlab(64.59, 61.40, -52.16)
CIE-LCHlch(64.59, 80.56, 319.65°)
OKLaboklab(72.06% 0.1568 -0.1454)
OKLCHoklch(72.06% 0.214 317.1)
XYZxyz(51.9305, 33.5289, 94.9843)
Luminance0.3353 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D971FB #93FB71
analogous
#9471FB #D971FB #FB71D8
triadic
#D971FB #FBD971 #71FBD9
tetradic
#D971FB #FB9471 #93FB71 #71D8FB
square
#D971FB #FB9471 #93FB71 #71D8FB
split-complementary
#D971FB #D8FB71 #71FB94
monochromatic
#B307EB #C935F9 #D971FB #E9ADFD #F7E1FE

Accessibility & contrast

On white

2.73
#D971FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#D971FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D971FB
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D971FB#FFFFFF#000000##000000
##D971FB1.002.737.717.71
#FFFFFF2.731.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5196FF
Deuteranopia (green-blind)
#75A0F7
Tritanopia (blue-blind)
#D887AC
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d971fb;
/* rgb */ color: rgb(217, 113, 251);
/* oklch */ color: oklch(72.1% 0.214 317.1);
Tailwind
colors: {
  custom: {
    50: '#e89efd',
    500: '#d971fb',
    950: '#000000',
  },
}
SCSS
$custom: #d971fb;
$custom-light: #e89efd;
$custom-dark: #000000;
JSON
{
  "hex": "#d971fb",
  "rgb": {
    "r": 217,
    "g": 113,
    "b": 251
  },
  "hsl": {
    "h": 285.217,
    "s": 94.521,
    "l": 71.373
  },
  "oklch": {
    "l": 0.72064,
    "c": 0.21382,
    "h": 317.1
  },
  "luminance": 0.33527
}

Semantic roles & 50–950 ramp

primary
#D971FB
secondary
#DBF6D2
accent
#E60039
background
#FEFAFF
surface
#FDF3FF
border
#D5CDD7
text
#160F18
muted
#847F86

Preview Lab

Preview with #D971FB

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

Preview Lab → · Contrast checker → · Palette generator →

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