#D971F3#D971F3

#D971F3 is a light, highly saturated purple. Relative luminance 0.330; OKLCH L 71.6% C 0.206 H 319.3°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#D971F3
RGBrgb(217, 113, 243)
HSLhsl(288, 84%, 70%)
HSVhsv(288, 53%, 95%)
CMYKcmyk(10.7%, 53.5%, 0%, 4.7%)
CIE-LABlab(64.19, 59.85, -48.38)
CIE-LCHlch(64.19, 76.96, 321.05°)
OKLaboklab(71.64% 0.1562 -0.1344)
OKLCHoklch(71.64% 0.206 319.3)
XYZxyz(50.6960, 33.0351, 88.4826)
Luminance0.3303 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D971F3 #8BF371
analogous
#9871F3 #D971F3 #F371CC
triadic
#D971F3 #F3D971 #71F3D9
tetradic
#D971F3 #F39871 #8BF371 #71CCF3
square
#D971F3 #F39871 #8BF371 #71CCF3
split-complementary
#D971F3 #CCF371 #71F398
monochromatic
#B012D7 #CA39EE #D971F3 #E8A9F8 #F7E2FD

Accessibility & contrast

On white

2.76
#D971F3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#D971F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D971F3
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D971F3#FFFFFF#000000##000000
##D971F31.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5794F7
Deuteranopia (green-blind)
#799FF0
Tritanopia (blue-blind)
#DA84A8
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d971f3;
/* rgb */ color: rgb(217, 113, 243);
/* oklch */ color: oklch(71.6% 0.206 319.3);
Tailwind
colors: {
  custom: {
    50: '#e79ef7',
    500: '#d971f3',
    950: '#000000',
  },
}
SCSS
$custom: #d971f3;
$custom-light: #e79ef7;
$custom-dark: #000000;
JSON
{
  "hex": "#d971f3",
  "rgb": {
    "r": 217,
    "g": 113,
    "b": 243
  },
  "hsl": {
    "h": 288,
    "s": 84.416,
    "l": 69.804
  },
  "oklch": {
    "l": 0.71643,
    "c": 0.20605,
    "h": 319.3
  },
  "luminance": 0.33033
}

Semantic roles & 50–950 ramp

primary
#D971F3
secondary
#D5F2CE
accent
#E10531
background
#FEFAFF
surface
#FDF3FF
border
#D5CDD7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D971F3

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

Preview Lab → · Contrast checker → · Palette generator →

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