#D371EA#D371EA

#D371EA is a light, vivid purple. Relative luminance 0.316; OKLCH L 70.5% C 0.194 H 319.7°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#D371EA
RGBrgb(211, 113, 234)
HSLhsl(289, 74%, 68%)
HSVhsv(289, 52%, 92%)
CMYKcmyk(9.8%, 51.7%, 0%, 8.2%)
CIE-LABlab(63.01, 56.54, -45.30)
CIE-LCHlch(63.01, 72.45, 321.30°)
OKLaboklab(70.48% 0.1484 -0.1257)
OKLCHoklch(70.48% 0.194 319.7)
XYZxyz(47.6185, 31.6016, 81.4173)
Luminance0.3160 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D371EA #88EA71
analogous
#9671EA #D371EA #EA71C4
triadic
#D371EA #EAD371 #71EAD3
tetradic
#D371EA #EA9671 #88EA71 #71C4EA
square
#D371EA #EA9671 #88EA71 #71C4EA
split-complementary
#D371EA #C4EA71 #71EA96
monochromatic
#A41DC4 #C23CE2 #D371EA #E4A6F2 #F4DCFA

Accessibility & contrast

On white

2.87
#D371EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#D371EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D371EA
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D371EA#FFFFFF#000000##000000
##D371EA1.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B92EE
Deuteranopia (green-blind)
#7A9CE7
Tritanopia (blue-blind)
#D482A3
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #d371ea;
/* rgb */ color: rgb(211, 113, 234);
/* oklch */ color: oklch(70.5% 0.194 319.7);
Tailwind
colors: {
  custom: {
    50: '#e39df1',
    500: '#d371ea',
    950: '#000000',
  },
}
SCSS
$custom: #d371ea;
$custom-light: #e39df1;
$custom-dark: #000000;
JSON
{
  "hex": "#d371ea",
  "rgb": {
    "r": 211,
    "g": 113,
    "b": 234
  },
  "hsl": {
    "h": 288.595,
    "s": 74.233,
    "l": 68.039
  },
  "oklch": {
    "l": 0.70477,
    "c": 0.19442,
    "h": 319.7
  },
  "luminance": 0.316
}

Semantic roles & 50–950 ramp

primary
#D371EA
secondary
#D0EEC9
accent
#D60F35
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160F17
muted
#847E85

Preview Lab

Preview with #D371EA

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

Preview Lab → · Contrast checker → · Palette generator →

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