#E371FB#E371FB

#E371FB is a light, highly saturated purple. Relative luminance 0.351; OKLCH L 73.2% C 0.218 H 320.4°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#E371FB
RGBrgb(227, 113, 251)
HSLhsl(290, 95%, 71%)
HSVhsv(290, 55%, 98%)
CMYKcmyk(9.6%, 55%, 0%, 1.6%)
CIE-LABlab(65.83, 63.91, -50.10)
CIE-LCHlch(65.83, 81.21, 321.91°)
OKLaboklab(73.24% 0.1682 -0.1392)
OKLCHoklch(73.24% 0.218 320.4)
XYZxyz(54.9942, 35.1086, 95.1279)
Luminance0.3511 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E371FB #89FB71
analogous
#9E71FB #E371FB #FB71CE
triadic
#E371FB #FBE371 #71FBE3
tetradic
#E371FB #FB9E71 #89FB71 #71CEFB
square
#E371FB #FB9E71 #89FB71 #71CEFB
split-complementary
#E371FB #CEFB71 #71FB9E
monochromatic
#C307EB #D735F9 #E371FB #EFADFD #F9E1FE

Accessibility & contrast

On white

2.62
#E371FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#E371FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E371FB
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E371FB#FFFFFF#000000##000000
##E371FB1.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5698FF
Deuteranopia (green-blind)
#7DA4F7
Tritanopia (blue-blind)
#E485AC
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #e371fb;
/* rgb */ color: rgb(227, 113, 251);
/* oklch */ color: oklch(73.2% 0.218 320.4);
Tailwind
colors: {
  custom: {
    50: '#ef9ffd',
    500: '#e371fb',
    950: '#000000',
  },
}
SCSS
$custom: #e371fb;
$custom-light: #ef9ffd;
$custom-dark: #000000;
JSON
{
  "hex": "#e371fb",
  "rgb": {
    "r": 227,
    "g": 113,
    "b": 251
  },
  "hsl": {
    "h": 289.565,
    "s": 94.521,
    "l": 71.373
  },
  "oklch": {
    "l": 0.73241,
    "c": 0.21837,
    "h": 320.4
  },
  "luminance": 0.35106
}

Semantic roles & 50–950 ramp

primary
#E371FB
secondary
#D8F6D2
accent
#E60028
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#170F18
muted
#857F86

Preview Lab

Preview with #E371FB

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

Preview Lab → · Contrast checker → · Palette generator →

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