#E371F2#E371F2

#E371F2 is a light, highly saturated purple. Relative luminance 0.346; OKLCH L 72.8% C 0.210 H 322.9°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#E371F2
RGBrgb(227, 113, 242)
HSLhsl(293, 83%, 70%)
HSVhsv(293, 53%, 95%)
CMYKcmyk(6.2%, 53.3%, 0%, 5.1%)
CIE-LABlab(65.40, 62.25, -45.83)
CIE-LCHlch(65.40, 77.30, 323.64°)
OKLaboklab(72.78% 0.1674 -0.1268)
OKLCHoklch(72.78% 0.21 322.9)
XYZxyz(53.6091, 34.5545, 87.8331)
Luminance0.3455 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E371F2 #80F271
analogous
#A271F2 #E371F2 #F271C1
triadic
#E371F2 #F2E371 #71F2E3
tetradic
#E371F2 #F2A271 #80F271 #71C1F2
square
#E371F2 #F2A271 #80F271 #71C1F2
split-complementary
#E371F2 #C1F271 #71F2A2
monochromatic
#BF14D5 #D839ED #E371F2 #EEA9F7 #F9E1FC

Accessibility & contrast

On white

2.65
#E371F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.91
#E371F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E371F2
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E371F2#FFFFFF#000000##000000
##E371F21.002.657.917.91
#FFFFFF2.651.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D96F6
Deuteranopia (green-blind)
#82A3EE
Tritanopia (blue-blind)
#E682A7
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #e371f2;
/* rgb */ color: rgb(227, 113, 242);
/* oklch */ color: oklch(72.8% 0.210 322.9);
Tailwind
colors: {
  custom: {
    50: '#ee9ef7',
    500: '#e371f2',
    950: '#000000',
  },
}
SCSS
$custom: #e371f2;
$custom-light: #ee9ef7;
$custom-dark: #000000;
JSON
{
  "hex": "#e371f2",
  "rgb": {
    "r": 227,
    "g": 113,
    "b": 242
  },
  "hsl": {
    "h": 293.023,
    "s": 83.226,
    "l": 69.608
  },
  "oklch": {
    "l": 0.72783,
    "c": 0.21004,
    "h": 322.9
  },
  "luminance": 0.34552
}

Semantic roles & 50–950 ramp

primary
#E371F2
secondary
#D1F2CD
accent
#E0061F
background
#FEFAFF
surface
#FDF3FF
border
#D5CDD7
text
#170F17
muted
#857F85

Preview Lab

Preview with #E371F2

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

Preview Lab → · Contrast checker → · Palette generator →

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