#E31EF8#E31EF8

#E31EF8 is a light, highly saturated purple. Relative luminance 0.240; OKLCH L 66.2% C 0.300 H 323.4°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#E31EF8
RGBrgb(227, 30, 248)
HSLhsl(294, 94%, 55%)
HSVhsv(294, 88%, 97%)
CMYKcmyk(8.5%, 87.9%, 0%, 2.7%)
CIE-LABlab(56.13, 90.25, -63.92)
CIE-LCHlch(56.13, 110.60, 324.69°)
OKLaboklab(66.23% 0.241 -0.179)
OKLCHoklch(66.23% 0.3 323.4)
XYZxyz(49.0845, 24.0399, 90.8436)
Luminance0.2404 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E31EF8 #33F81E
analogous
#761EF8 #E31EF8 #F81EA0
triadic
#E31EF8 #F8E31E #1EF8E3
tetradic
#E31EF8 #F8761E #33F81E #1EA0F8
square
#E31EF8 #F8761E #33F81E #1EA0F8
split-complementary
#E31EF8 #A0F81E #1EF876
monochromatic
#890597 #BF07D2 #E31EF8 #EA59FA #F295FC

Accessibility & contrast

On white

3.62
#E31EF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#E31EF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E31EF8
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E31EF8#FFFFFF#000000##000000
##E31EF81.003.625.815.81
#FFFFFF3.621.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079FD
Deuteranopia (green-blind)
#508DF4
Tritanopia (blue-blind)
#E75594
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #e31ef8;
/* rgb */ color: rgb(227, 30, 248);
/* oklch */ color: oklch(66.2% 0.300 323.4);
Tailwind
colors: {
  custom: {
    50: '#f17afb',
    500: '#e31ef8',
    950: '#000000',
  },
}
SCSS
$custom: #e31ef8;
$custom-light: #f17afb;
$custom-dark: #000000;
JSON
{
  "hex": "#e31ef8",
  "rgb": {
    "r": 227,
    "g": 30,
    "b": 248
  },
  "hsl": {
    "h": 294.22,
    "s": 93.966,
    "l": 54.51
  },
  "oklch": {
    "l": 0.66226,
    "c": 0.30019,
    "h": 323.4
  },
  "luminance": 0.24037
}

Semantic roles & 50–950 ramp

primary
#E31EF8
secondary
#94E78B
accent
#FF293D
background
#FFF8FF
surface
#FFEFFF
border
#D7CAD7
text
#180B18
muted
#867C86

Preview Lab

Preview with #E31EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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