#D971F0#D971F0

#D971F0 is a light, highly saturated purple. Relative luminance 0.329; OKLCH L 71.5% C 0.203 H 320.1°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#D971F0
RGBrgb(217, 113, 240)
HSLhsl(289, 81%, 69%)
HSVhsv(289, 53%, 94%)
CMYKcmyk(9.6%, 52.9%, 0%, 5.9%)
CIE-LABlab(64.04, 59.27, -46.95)
CIE-LCHlch(64.04, 75.62, 321.62°)
OKLaboklab(71.49% 0.1559 -0.1303)
OKLCHoklch(71.49% 0.203 320.1)
XYZxyz(50.2466, 32.8553, 86.1161)
Luminance0.3285 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D971F0 #88F071
analogous
#9A71F0 #D971F0 #F071C8
triadic
#D971F0 #F0D971 #71F0D9
tetradic
#D971F0 #F09A71 #88F071 #71C8F0
square
#D971F0 #F09A71 #88F071 #71C8F0
split-complementary
#D971F0 #C8F071 #71F09A
monochromatic
#AF16D1 #CA3AEA #D971F0 #E8A8F6 #F7E0FC

Accessibility & contrast

On white

2.77
#D971F0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.57
#D971F0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D971F0
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D971F0#FFFFFF#000000##000000
##D971F01.002.777.577.57
#FFFFFF2.771.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5994F4
Deuteranopia (green-blind)
#7B9FED
Tritanopia (blue-blind)
#DA83A6
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d971f0;
/* rgb */ color: rgb(217, 113, 240);
/* oklch */ color: oklch(71.5% 0.203 320.1);
Tailwind
colors: {
  custom: {
    50: '#e79ef5',
    500: '#d971f0',
    950: '#000000',
  },
}
SCSS
$custom: #d971f0;
$custom-light: #e79ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#d971f0",
  "rgb": {
    "r": 217,
    "g": 113,
    "b": 240
  },
  "hsl": {
    "h": 289.134,
    "s": 80.892,
    "l": 69.216
  },
  "oklch": {
    "l": 0.71489,
    "c": 0.20316,
    "h": 320.1
  },
  "luminance": 0.32853
}

Semantic roles & 50–950 ramp

primary
#D971F0
secondary
#D3F1CC
accent
#DD082F
background
#FEFAFF
surface
#FDF3FE
border
#D5CDD6
text
#160F17
muted
#847F85

Preview Lab

Preview with #D971F0

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

Preview Lab → · Contrast checker → · Palette generator →

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