#E371EB#E371EB

#E371EB is a light, highly saturated purple. Relative luminance 0.341; OKLCH L 72.4% C 0.204 H 324.9°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#E371EB
RGBrgb(227, 113, 235)
HSLhsl(296, 75%, 68%)
HSVhsv(296, 52%, 92%)
CMYKcmyk(3.4%, 51.9%, 0%, 7.8%)
CIE-LABlab(65.08, 60.99, -42.47)
CIE-LCHlch(65.08, 74.32, 325.14°)
OKLaboklab(72.44% 0.1666 -0.1171)
OKLCHoklch(72.44% 0.204 324.9)
XYZxyz(52.5778, 34.1420, 82.4018)
Luminance0.3414 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E371EB #79EB71
analogous
#A671EB #E371EB #EB71B6
triadic
#E371EB #EBE371 #71EBE3
tetradic
#E371EB #EBA671 #79EB71 #71B6EB
square
#E371EB #EBA671 #79EB71 #71B6EB
split-complementary
#E371EB #B6EB71 #71EBA6
monochromatic
#BB1CC6 #D83BE3 #E371EB #EEA7F3 #F8DCFA

Accessibility & contrast

On white

2.68
#E371EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.83
#E371EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E371EB
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E371EB#FFFFFF#000000##000000
##E371EB1.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6195EF
Deuteranopia (green-blind)
#85A3E7
Tritanopia (blue-blind)
#E880A4
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #e371eb;
/* rgb */ color: rgb(227, 113, 235);
/* oklch */ color: oklch(72.4% 0.204 324.9);
Tailwind
colors: {
  custom: {
    50: '#ee9ef2',
    500: '#e371eb',
    950: '#000000',
  },
}
SCSS
$custom: #e371eb;
$custom-light: #ee9ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#e371eb",
  "rgb": {
    "r": 227,
    "g": 113,
    "b": 235
  },
  "hsl": {
    "h": 296.066,
    "s": 75.309,
    "l": 68.235
  },
  "oklch": {
    "l": 0.72438,
    "c": 0.20369,
    "h": 324.9
  },
  "luminance": 0.34139
}

Semantic roles & 50–950 ramp

primary
#E371EB
secondary
#CCEEC9
accent
#D70E1B
background
#FEFAFE
surface
#FDF3FD
border
#D5CDD5
text
#170F17
muted
#857F85

Preview Lab

Preview with #E371EB

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

Preview Lab → · Contrast checker → · Palette generator →

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