#D371FF#D371FF

#D371FF is a light, highly saturated purple. Relative luminance 0.329; OKLCH L 71.6% C 0.215 H 314.1°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#D371FF
RGBrgb(211, 113, 255)
HSLhsl(281, 100%, 72%)
HSVhsv(281, 56%, 100%)
CMYKcmyk(17.3%, 55.7%, 0%, 0%)
CIE-LABlab(64.06, 60.71, -55.23)
CIE-LCHlch(64.06, 82.07, 317.71°)
OKLaboklab(71.59% 0.15 -0.1545)
OKLCHoklch(71.59% 0.215 314.1)
XYZxyz(50.8161, 32.8806, 98.2581)
Luminance0.3288 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D371FF #9DFF71
analogous
#8C71FF #D371FF #FF71E4
triadic
#D371FF #FFD371 #71FFD3
tetradic
#D371FF #FF8C71 #9DFF71 #71E4FF
square
#D371FF #FF8C71 #9DFF71 #71E4FF
split-complementary
#D371FF #E4FF71 #71FF8C
monochromatic
#A900F6 #C034FF #D371FF #E6AEFF #F6E0FF

Accessibility & contrast

On white

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

On black

7.58
#D371FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D371FF
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D371FF#FFFFFF#000000##000000
##D371FF1.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A96FF
Deuteranopia (green-blind)
#6D9EFB
Tritanopia (blue-blind)
#CF89AE
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d371ff;
/* rgb */ color: rgb(211, 113, 255);
/* oklch */ color: oklch(71.6% 0.215 314.1);
Tailwind
colors: {
  custom: {
    50: '#e39eff',
    500: '#d371ff',
    950: '#000000',
  },
}
SCSS
$custom: #d371ff;
$custom-light: #e39eff;
$custom-dark: #000000;
JSON
{
  "hex": "#d371ff",
  "rgb": {
    "r": 211,
    "g": 113,
    "b": 255
  },
  "hsl": {
    "h": 281.408,
    "s": 100,
    "l": 72.157
  },
  "oklch": {
    "l": 0.71592,
    "c": 0.21534,
    "h": 314.1
  },
  "luminance": 0.32879
}

Semantic roles & 50–950 ramp

primary
#D371FF
secondary
#DFF7D4
accent
#E60047
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160F18
muted
#847E86

Preview Lab

Preview with #D371FF

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

Preview Lab → · Contrast checker → · Palette generator →

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