#D971ED#D971ED

#D971ED is a light, highly saturated purple. Relative luminance 0.327; OKLCH L 71.3% C 0.200 H 321.0°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#D971ED
RGBrgb(217, 113, 237)
HSLhsl(290, 78%, 69%)
HSVhsv(290, 52%, 93%)
CMYKcmyk(8.4%, 52.3%, 0%, 7.1%)
CIE-LABlab(63.90, 58.71, -45.52)
CIE-LCHlch(63.90, 74.28, 322.21°)
OKLaboklab(71.34% 0.1556 -0.1262)
OKLCHoklch(71.34% 0.2 321)
XYZxyz(49.8047, 32.6785, 83.7885)
Luminance0.3268 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D971ED #85ED71
analogous
#9B71ED #D971ED #ED71C3
triadic
#D971ED #EDD971 #71EDD9
tetradic
#D971ED #ED9B71 #85ED71 #71C3ED
square
#D971ED #ED9B71 #85ED71 #71C3ED
split-complementary
#D971ED #C3ED71 #71ED9B
monochromatic
#AE1ACA #CA3BE6 #D971ED #E8A7F4 #F6DEFB

Accessibility & contrast

On white

2.79
#D971ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.54
#D971ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D971ED
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D971ED#FFFFFF#000000##000000
##D971ED1.002.797.547.54
#FFFFFF2.791.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C93F1
Deuteranopia (green-blind)
#7D9FEA
Tritanopia (blue-blind)
#DB82A5
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d971ed;
/* rgb */ color: rgb(217, 113, 237);
/* oklch */ color: oklch(71.3% 0.200 321.0);
Tailwind
colors: {
  custom: {
    50: '#e79ef3',
    500: '#d971ed',
    950: '#000000',
  },
}
SCSS
$custom: #d971ed;
$custom-light: #e79ef3;
$custom-dark: #000000;
JSON
{
  "hex": "#d971ed",
  "rgb": {
    "r": 217,
    "g": 113,
    "b": 237
  },
  "hsl": {
    "h": 290.323,
    "s": 77.5,
    "l": 68.627
  },
  "oklch": {
    "l": 0.71336,
    "c": 0.20029,
    "h": 321
  },
  "luminance": 0.32676
}

Semantic roles & 50–950 ramp

primary
#D971ED
secondary
#D0EFCA
accent
#DA0C2D
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160F17
muted
#847E85

Preview Lab

Preview with #D971ED

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

Preview Lab → · Contrast checker → · Palette generator →

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