#E371F6#E371F6

#E371F6 is a light, highly saturated purple. Relative luminance 0.348; OKLCH L 73.0% C 0.214 H 321.7°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#E371F6
RGBrgb(227, 113, 246)
HSLhsl(291, 88%, 70%)
HSVhsv(291, 54%, 96%)
CMYKcmyk(7.7%, 54.1%, 0%, 3.5%)
CIE-LABlab(65.59, 62.98, -47.74)
CIE-LCHlch(65.59, 79.03, 322.84°)
OKLaboklab(72.99% 0.1678 -0.1323)
OKLCHoklch(72.99% 0.214 321.7)
XYZxyz(54.2164, 34.7975, 91.0317)
Luminance0.3479 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E371F6 #84F671
analogous
#A171F6 #E371F6 #F671C6
triadic
#E371F6 #F6E371 #71F6E3
tetradic
#E371F6 #F6A171 #84F671 #71C6F6
square
#E371F6 #F6A171 #84F671 #71C6F6
split-complementary
#E371F6 #C6F671 #71F6A1
monochromatic
#C10EDE #D837F2 #E371F6 #EEABFA #F9E2FD

Accessibility & contrast

On white

2.64
#E371F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.96
#E371F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E371F6
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E371F6#FFFFFF#000000##000000
##E371F61.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A97FA
Deuteranopia (green-blind)
#80A4F2
Tritanopia (blue-blind)
#E584A9
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #e371f6;
/* rgb */ color: rgb(227, 113, 246);
/* oklch */ color: oklch(73.0% 0.214 321.7);
Tailwind
colors: {
  custom: {
    50: '#ee9ef9',
    500: '#e371f6',
    950: '#000000',
  },
}
SCSS
$custom: #e371f6;
$custom-light: #ee9ef9;
$custom-dark: #000000;
JSON
{
  "hex": "#e371f6",
  "rgb": {
    "r": 227,
    "g": 113,
    "b": 246
  },
  "hsl": {
    "h": 291.429,
    "s": 88.079,
    "l": 70.392
  },
  "oklch": {
    "l": 0.72985,
    "c": 0.21373,
    "h": 321.7
  },
  "luminance": 0.34795
}

Semantic roles & 50–950 ramp

primary
#E371F6
secondary
#D4F4CF
accent
#E50121
background
#FEFAFF
surface
#FDF3FF
border
#D5CDD7
text
#170F17
muted
#857F85

Preview Lab

Preview with #E371F6

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

Preview Lab → · Contrast checker → · Palette generator →

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