#D971EF#D971EF

#D971EF is a light, highly saturated purple. Relative luminance 0.328; OKLCH L 71.4% C 0.202 H 320.4°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#D971EF
RGBrgb(217, 113, 239)
HSLhsl(290, 80%, 69%)
HSVhsv(290, 53%, 94%)
CMYKcmyk(9.2%, 52.7%, 0%, 6.3%)
CIE-LABlab(64.00, 59.08, -46.47)
CIE-LCHlch(64.00, 75.17, 321.81°)
OKLaboklab(71.44% 0.1558 -0.1289)
OKLCHoklch(71.44% 0.202 320.4)
XYZxyz(50.0985, 32.7961, 85.3360)
Luminance0.3279 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D971EF #87EF71
analogous
#9A71EF #D971EF #EF71C6
triadic
#D971EF #EFD971 #71EFD9
tetradic
#D971EF #EF9A71 #87EF71 #71C6EF
square
#D971EF #EF9A71 #87EF71 #71C6EF
split-complementary
#D971EF #C6EF71 #71EF9A
monochromatic
#AE17CE #CA3AE9 #D971EF #E8A8F5 #F6DFFB

Accessibility & contrast

On white

2.78
#D971EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.56
#D971EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D971EF
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D971EF#FFFFFF#000000##000000
##D971EF1.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A94F3
Deuteranopia (green-blind)
#7C9FEC
Tritanopia (blue-blind)
#DA83A6
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d971ef;
/* rgb */ color: rgb(217, 113, 239);
/* oklch */ color: oklch(71.4% 0.202 320.4);
Tailwind
colors: {
  custom: {
    50: '#e79ef5',
    500: '#d971ef',
    950: '#000000',
  },
}
SCSS
$custom: #d971ef;
$custom-light: #e79ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#d971ef",
  "rgb": {
    "r": 217,
    "g": 113,
    "b": 239
  },
  "hsl": {
    "h": 289.524,
    "s": 79.747,
    "l": 69.02
  },
  "oklch": {
    "l": 0.71437,
    "c": 0.2022,
    "h": 320.4
  },
  "luminance": 0.32794
}

Semantic roles & 50–950 ramp

primary
#D971EF
secondary
#D2F0CB
accent
#DC092E
background
#FEFAFF
surface
#FDF3FE
border
#D5CDD6
text
#160F17
muted
#847F85

Preview Lab

Preview with #D971EF

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

Preview Lab → · Contrast checker → · Palette generator →

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