#D371FE#D371FE

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

Color values

HEX#D371FE
RGBrgb(211, 113, 254)
HSLhsl(282, 99%, 72%)
HSVhsv(282, 56%, 100%)
CMYKcmyk(16.9%, 55.5%, 0%, 0.4%)
CIE-LABlab(64.01, 60.50, -54.76)
CIE-LCHlch(64.01, 81.61, 317.85°)
OKLaboklab(71.54% 0.1499 -0.1532)
OKLCHoklch(71.54% 0.214 314.4)
XYZxyz(50.6556, 32.8164, 97.4125)
Luminance0.3281 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D371FE #9CFE71
analogous
#8D71FE #D371FE #FE71E3
triadic
#D371FE #FED371 #71FED3
tetradic
#D371FE #FE8D71 #9CFE71 #71E3FE
square
#D371FE #FE8D71 #9CFE71 #71E3FE
split-complementary
#D371FE #E3FE71 #71FE8D
monochromatic
#A902F3 #C034FE #D371FE #E6AEFE #F6E1FF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D371FE#FFFFFF#000000##000000
##D371FE1.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)
#4B96FF
Deuteranopia (green-blind)
#6E9EFA
Tritanopia (blue-blind)
#D089AD
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d371fe;
/* rgb */ color: rgb(211, 113, 254);
/* oklch */ color: oklch(71.5% 0.214 314.4);
Tailwind
colors: {
  custom: {
    50: '#e39eff',
    500: '#d371fe',
    950: '#000000',
  },
}
SCSS
$custom: #d371fe;
$custom-light: #e39eff;
$custom-dark: #000000;
JSON
{
  "hex": "#d371fe",
  "rgb": {
    "r": 211,
    "g": 113,
    "b": 254
  },
  "hsl": {
    "h": 281.702,
    "s": 98.601,
    "l": 71.961
  },
  "oklch": {
    "l": 0.71537,
    "c": 0.21433,
    "h": 314.4
  },
  "luminance": 0.32815
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D371FE

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

Preview Lab → · Contrast checker → · Palette generator →

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