#E381FE#E381FE

#E381FE is a light, vivid purple. Relative luminance 0.392; OKLCH L 75.5% C 0.197 H 318.6°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#E381FE
RGBrgb(227, 129, 254)
HSLhsl(287, 98%, 75%)
HSVhsv(287, 49%, 100%)
CMYKcmyk(10.6%, 49.2%, 0%, 0.4%)
CIE-LABlab(68.89, 56.77, -46.93)
CIE-LCHlch(68.89, 73.66, 320.42°)
OKLaboklab(75.54% 0.1478 -0.1301)
OKLCHoklch(75.54% 0.197 318.6)
XYZxyz(57.4158, 39.1892, 98.2866)
Luminance0.3919 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E381FE #9CFE81
analogous
#A481FE #E381FE #FE81DA
triadic
#E381FE #FEE381 #81FEE3
tetradic
#E381FE #FEA481 #9CFE81 #81DAFE
square
#E381FE #FEA481 #9CFE81 #81DAFE
split-complementary
#E381FE #DAFE81 #81FEA4
monochromatic
#C808FD #D644FE #E381FE #F0BEFE #F8E1FF

Accessibility & contrast

On white

2.38
#E381FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.84
#E381FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E381FE
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E381FE#FFFFFF#000000##000000
##E381FE1.002.388.848.84
#FFFFFF2.381.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6AA2FF
Deuteranopia (green-blind)
#88ABFB
Tritanopia (blue-blind)
#E393B4
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #e381fe;
/* rgb */ color: rgb(227, 129, 254);
/* oklch */ color: oklch(75.5% 0.197 318.6);
Tailwind
colors: {
  custom: {
    50: '#eea9ff',
    500: '#e381fe',
    950: '#000000',
  },
}
SCSS
$custom: #e381fe;
$custom-light: #eea9ff;
$custom-dark: #000000;
JSON
{
  "hex": "#e381fe",
  "rgb": {
    "r": 227,
    "g": 129,
    "b": 254
  },
  "hsl": {
    "h": 287.04,
    "s": 98.425,
    "l": 75.098
  },
  "oklch": {
    "l": 0.75538,
    "c": 0.19692,
    "h": 318.6
  },
  "luminance": 0.39187
}

Semantic roles & 50–950 ramp

primary
#E381FE
secondary
#DCF7D4
accent
#E60032
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#171018
muted
#857F86

Preview Lab

Preview with #E381FE

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

Preview Lab → · Contrast checker → · Palette generator →

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