#D371FA#D371FA

#D371FA is a light, highly saturated purple. Relative luminance 0.326; OKLCH L 71.3% C 0.210 H 315.4°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#D371FA
RGBrgb(211, 113, 250)
HSLhsl(283, 93%, 71%)
HSVhsv(283, 55%, 98%)
CMYKcmyk(15.6%, 54.8%, 0%, 2%)
CIE-LABlab(63.81, 59.70, -52.89)
CIE-LCHlch(63.81, 79.76, 318.46°)
OKLaboklab(71.32% 0.1497 -0.1477)
OKLCHoklch(71.32% 0.21 315.4)
XYZxyz(50.0217, 32.5628, 94.0742)
Luminance0.3256 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D371FA #98FA71
analogous
#8E71FA #D371FA #FA71DC
triadic
#D371FA #FAD371 #71FAD3
tetradic
#D371FA #FA8E71 #98FA71 #71DCFA
square
#D371FA #FA8E71 #98FA71 #71DCFA
split-complementary
#D371FA #DCFA71 #71FA8E
monochromatic
#A908E8 #C136F8 #D371FA #E5ACFC #F6E1FE

Accessibility & contrast

On white

2.80
#D371FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#D371FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D371FA
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D371FA#FFFFFF#000000##000000
##D371FA1.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E95FE
Deuteranopia (green-blind)
#709DF6
Tritanopia (blue-blind)
#D187AB
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d371fa;
/* rgb */ color: rgb(211, 113, 250);
/* oklch */ color: oklch(71.3% 0.210 315.4);
Tailwind
colors: {
  custom: {
    50: '#e39efc',
    500: '#d371fa',
    950: '#000000',
  },
}
SCSS
$custom: #d371fa;
$custom-light: #e39efc;
$custom-dark: #000000;
JSON
{
  "hex": "#d371fa",
  "rgb": {
    "r": 211,
    "g": 113,
    "b": 250
  },
  "hsl": {
    "h": 282.92,
    "s": 93.197,
    "l": 71.176
  },
  "oklch": {
    "l": 0.71318,
    "c": 0.21031,
    "h": 315.4
  },
  "luminance": 0.32561
}

Semantic roles & 50–950 ramp

primary
#D371FA
secondary
#DCF5D1
accent
#E60041
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160F17
muted
#847E85

Preview Lab

Preview with #D371FA

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

Preview Lab → · Contrast checker → · Palette generator →

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