#E371F7#E371F7

#E371F7 is a light, highly saturated purple. Relative luminance 0.349; OKLCH L 73.0% C 0.215 H 321.5°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#E371F7
RGBrgb(227, 113, 247)
HSLhsl(291, 89%, 71%)
HSVhsv(291, 54%, 97%)
CMYKcmyk(8.1%, 54.3%, 0%, 3.1%)
CIE-LABlab(65.64, 63.17, -48.21)
CIE-LCHlch(65.64, 79.47, 322.65°)
OKLaboklab(73.04% 0.1679 -0.1337)
OKLCHoklch(73.04% 0.215 321.5)
XYZxyz(54.3703, 34.8590, 91.8422)
Luminance0.3486 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E371F7 #85F771
analogous
#A071F7 #E371F7 #F771C8
triadic
#E371F7 #F7E371 #71F7E3
tetradic
#E371F7 #F7A071 #85F771 #71C8F7
square
#E371F7 #F7A071 #85F771 #71C8F7
split-complementary
#E371F7 #C8F771 #71F7A0
monochromatic
#C10DE1 #D837F4 #E371F7 #EEABFA #F9E2FD

Accessibility & contrast

On white

2.63
#E371F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#E371F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E371F7
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E371F7#FFFFFF#000000##000000
##E371F71.002.637.977.97
#FFFFFF2.631.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5997FB
Deuteranopia (green-blind)
#7FA4F3
Tritanopia (blue-blind)
#E584AA
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #e371f7;
/* rgb */ color: rgb(227, 113, 247);
/* oklch */ color: oklch(73.0% 0.215 321.5);
Tailwind
colors: {
  custom: {
    50: '#ee9ffa',
    500: '#e371f7',
    950: '#000000',
  },
}
SCSS
$custom: #e371f7;
$custom-light: #ee9ffa;
$custom-dark: #000000;
JSON
{
  "hex": "#e371f7",
  "rgb": {
    "r": 227,
    "g": 113,
    "b": 247
  },
  "hsl": {
    "h": 291.045,
    "s": 89.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.73036,
    "c": 0.21465,
    "h": 321.5
  },
  "luminance": 0.34857
}

Semantic roles & 50–950 ramp

primary
#E371F7
secondary
#D5F4D0
accent
#E60022
background
#FEFAFF
surface
#FDF3FF
border
#D5CDD7
text
#170F17
muted
#857F85

Preview Lab

Preview with #E371F7

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

Preview Lab → · Contrast checker → · Palette generator →

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