#D371FD#D371FD

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

Color values

HEX#D371FD
RGBrgb(211, 113, 253)
HSLhsl(282, 97%, 72%)
HSVhsv(282, 55%, 99%)
CMYKcmyk(16.6%, 55.3%, 0%, 0.8%)
CIE-LABlab(63.96, 60.30, -54.30)
CIE-LCHlch(63.96, 81.14, 318.00°)
OKLaboklab(71.48% 0.1499 -0.1518)
OKLCHoklch(71.48% 0.213 314.6)
XYZxyz(50.4959, 32.7525, 96.5713)
Luminance0.3275 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D371FD #9BFD71
analogous
#8D71FD #D371FD #FD71E1
triadic
#D371FD #FDD371 #71FDD3
tetradic
#D371FD #FD8D71 #9BFD71 #71E1FD
square
#D371FD #FD8D71 #9BFD71 #71E1FD
split-complementary
#D371FD #E1FD71 #71FD8D
monochromatic
#A903F0 #C035FC #D371FD #E6ADFE #F6E1FF

Accessibility & contrast

On white

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

On black

7.55
#D371FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D371FD
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D371FD#FFFFFF#000000##000000
##D371FD1.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C95FF
Deuteranopia (green-blind)
#6F9EF9
Tritanopia (blue-blind)
#D088AD
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d371fd;
/* rgb */ color: rgb(211, 113, 253);
/* oklch */ color: oklch(71.5% 0.213 314.6);
Tailwind
colors: {
  custom: {
    50: '#e39eff',
    500: '#d371fd',
    950: '#000000',
  },
}
SCSS
$custom: #d371fd;
$custom-light: #e39eff;
$custom-dark: #000000;
JSON
{
  "hex": "#d371fd",
  "rgb": {
    "r": 211,
    "g": 113,
    "b": 253
  },
  "hsl": {
    "h": 282,
    "s": 97.222,
    "l": 71.765
  },
  "oklch": {
    "l": 0.71482,
    "c": 0.21332,
    "h": 314.6
  },
  "luminance": 0.32751
}

Semantic roles & 50–950 ramp

primary
#D371FD
secondary
#DEF7D3
accent
#E60045
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160F18
muted
#847E86

Preview Lab

Preview with #D371FD

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

Preview Lab → · Contrast checker → · Palette generator →

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