#D371EE#D371EE

#D371EE is a light, vivid purple. Relative luminance 0.318; OKLCH L 70.7% C 0.198 H 318.6°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#D371EE
RGBrgb(211, 113, 238)
HSLhsl(287, 79%, 69%)
HSVhsv(287, 53%, 93%)
CMYKcmyk(11.3%, 52.5%, 0%, 6.7%)
CIE-LABlab(63.21, 57.32, -47.22)
CIE-LCHlch(63.21, 74.26, 320.52°)
OKLaboklab(70.68% 0.1488 -0.1312)
OKLCHoklch(70.68% 0.198 318.6)
XYZxyz(48.1996, 31.8340, 84.4780)
Luminance0.3183 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D371EE #8CEE71
analogous
#9571EE #D371EE #EE71CB
triadic
#D371EE #EED371 #71EED3
tetradic
#D371EE #EE9571 #8CEE71 #71CBEE
square
#D371EE #EE9571 #8CEE71 #71CBEE
split-complementary
#D371EE #CBEE71 #71EE95
monochromatic
#A518CC #C23AE7 #D371EE #E4A8F5 #F5DEFB

Accessibility & contrast

On white

2.85
#D371EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#D371EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D371EE
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D371EE#FFFFFF#000000##000000
##D371EE1.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5892F2
Deuteranopia (green-blind)
#789CEB
Tritanopia (blue-blind)
#D383A5
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d371ee;
/* rgb */ color: rgb(211, 113, 238);
/* oklch */ color: oklch(70.7% 0.198 318.6);
Tailwind
colors: {
  custom: {
    50: '#e39df4',
    500: '#d371ee',
    950: '#000000',
  },
}
SCSS
$custom: #d371ee;
$custom-light: #e39df4;
$custom-dark: #000000;
JSON
{
  "hex": "#d371ee",
  "rgb": {
    "r": 211,
    "g": 113,
    "b": 238
  },
  "hsl": {
    "h": 287.04,
    "s": 78.616,
    "l": 68.824
  },
  "oklch": {
    "l": 0.70682,
    "c": 0.19836,
    "h": 318.6
  },
  "luminance": 0.31832
}

Semantic roles & 50–950 ramp

primary
#D371EE
secondary
#D3F0CB
accent
#DB0B38
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160F17
muted
#847E85

Preview Lab

Preview with #D371EE

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

Preview Lab → · Contrast checker → · Palette generator →

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