#D371F0#D371F0

#D371F0 is a light, highly saturated purple. Relative luminance 0.320; OKLCH L 70.8% C 0.200 H 318.0°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#D371F0
RGBrgb(211, 113, 240)
HSLhsl(286, 81%, 69%)
HSVhsv(286, 53%, 94%)
CMYKcmyk(12.1%, 52.9%, 0%, 5.9%)
CIE-LABlab(63.30, 57.71, -48.17)
CIE-LCHlch(63.30, 75.17, 320.15°)
OKLaboklab(70.79% 0.1489 -0.134)
OKLCHoklch(70.79% 0.2 318)
XYZxyz(48.4951, 31.9522, 86.0340)
Luminance0.3195 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D371F0 #8EF071
analogous
#9471F0 #D371F0 #F071CE
triadic
#D371F0 #F0D371 #71F0D3
tetradic
#D371F0 #F09471 #8EF071 #71CEF0
square
#D371F0 #F09471 #8EF071 #71CEF0
split-complementary
#D371F0 #CEF071 #71F094
monochromatic
#A616D1 #C23AEA #D371F0 #E4A8F6 #F5E0FC

Accessibility & contrast

On white

2.84
#D371F0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.39
#D371F0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D371F0
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D371F0#FFFFFF#000000##000000
##D371F01.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5793F4
Deuteranopia (green-blind)
#769DED
Tritanopia (blue-blind)
#D384A6
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d371f0;
/* rgb */ color: rgb(211, 113, 240);
/* oklch */ color: oklch(70.8% 0.200 318.0);
Tailwind
colors: {
  custom: {
    50: '#e39df5',
    500: '#d371f0',
    950: '#000000',
  },
}
SCSS
$custom: #d371f0;
$custom-light: #e39df5;
$custom-dark: #000000;
JSON
{
  "hex": "#d371f0",
  "rgb": {
    "r": 211,
    "g": 113,
    "b": 240
  },
  "hsl": {
    "h": 286.299,
    "s": 80.892,
    "l": 69.216
  },
  "oklch": {
    "l": 0.70786,
    "c": 0.20033,
    "h": 318
  },
  "luminance": 0.3195
}

Semantic roles & 50–950 ramp

primary
#D371F0
secondary
#D4F1CC
accent
#DD0839
background
#FEF9FF
surface
#FCF2FE
border
#D5CCD6
text
#160F17
muted
#847E85

Preview Lab

Preview with #D371F0

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

Preview Lab → · Contrast checker → · Palette generator →

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