#E371F8#E371F8

#E371F8 is a light, highly saturated purple. Relative luminance 0.349; OKLCH L 73.1% C 0.216 H 321.2°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#E371F8
RGBrgb(227, 113, 248)
HSLhsl(291, 91%, 71%)
HSVhsv(291, 54%, 97%)
CMYKcmyk(8.5%, 54.4%, 0%, 2.7%)
CIE-LABlab(65.69, 63.35, -48.69)
CIE-LCHlch(65.69, 79.90, 322.46°)
OKLaboklab(73.09% 0.168 -0.1351)
OKLCHoklch(73.09% 0.216 321.2)
XYZxyz(54.5250, 34.9209, 92.6571)
Luminance0.3492 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E371F8 #86F871
analogous
#9F71F8 #E371F8 #F871C9
triadic
#E371F8 #F8E371 #71F8E3
tetradic
#E371F8 #F89F71 #86F871 #71C9F8
square
#E371F8 #F89F71 #86F871 #71C9F8
split-complementary
#E371F8 #C9F871 #71F89F
monochromatic
#C20BE3 #D837F5 #E371F8 #EFABFB #F9E2FE

Accessibility & contrast

On white

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

On black

7.98
#E371F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E371F8
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E371F8#FFFFFF#000000##000000
##E371F81.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5897FC
Deuteranopia (green-blind)
#7EA4F4
Tritanopia (blue-blind)
#E584AA
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #e371f8;
/* rgb */ color: rgb(227, 113, 248);
/* oklch */ color: oklch(73.1% 0.216 321.2);
Tailwind
colors: {
  custom: {
    50: '#ee9ffb',
    500: '#e371f8',
    950: '#000000',
  },
}
SCSS
$custom: #e371f8;
$custom-light: #ee9ffb;
$custom-dark: #000000;
JSON
{
  "hex": "#e371f8",
  "rgb": {
    "r": 227,
    "g": 113,
    "b": 248
  },
  "hsl": {
    "h": 290.667,
    "s": 90.604,
    "l": 70.784
  },
  "oklch": {
    "l": 0.73087,
    "c": 0.21558,
    "h": 321.2
  },
  "luminance": 0.34918
}

Semantic roles & 50–950 ramp

primary
#E371F8
secondary
#D6F5D0
accent
#E60024
background
#FEFAFF
surface
#FDF3FF
border
#D5CDD7
text
#170F17
muted
#857F85

Preview Lab

Preview with #E371F8

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

Preview Lab → · Contrast checker → · Palette generator →

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