#E381FC#E381FC

#E381FC is a light, vivid purple. Relative luminance 0.391; OKLCH L 75.4% C 0.195 H 319.2°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#E381FC
RGBrgb(227, 129, 252)
HSLhsl(288, 95%, 75%)
HSVhsv(288, 49%, 99%)
CMYKcmyk(9.9%, 48.8%, 0%, 1.2%)
CIE-LABlab(68.80, 56.39, -45.98)
CIE-LCHlch(68.80, 72.76, 320.80°)
OKLaboklab(75.44% 0.1476 -0.1274)
OKLCHoklch(75.44% 0.195 319.2)
XYZxyz(57.0972, 39.0618, 96.6086)
Luminance0.3906 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E381FC #9AFC81
analogous
#A681FC #E381FC #FC81D7
triadic
#E381FC #FCE381 #81FCE3
tetradic
#E381FC #FCA681 #9AFC81 #81D7FC
square
#E381FC #FCA681 #9AFC81 #81D7FC
split-complementary
#E381FC #D7FC81 #81FCA6
monochromatic
#C809F9 #D645FB #E381FC #F0BDFD #F8E1FE

Accessibility & contrast

On white

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

On black

8.81
#E381FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E381FC
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E381FC#FFFFFF#000000##000000
##E381FC1.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6CA1FF
Deuteranopia (green-blind)
#89ABF9
Tritanopia (blue-blind)
#E492B3
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #e381fc;
/* rgb */ color: rgb(227, 129, 252);
/* oklch */ color: oklch(75.4% 0.195 319.2);
Tailwind
colors: {
  custom: {
    50: '#eea8fe',
    500: '#e381fc',
    950: '#000000',
  },
}
SCSS
$custom: #e381fc;
$custom-light: #eea8fe;
$custom-dark: #000000;
JSON
{
  "hex": "#e381fc",
  "rgb": {
    "r": 227,
    "g": 129,
    "b": 252
  },
  "hsl": {
    "h": 287.805,
    "s": 95.349,
    "l": 74.706
  },
  "oklch": {
    "l": 0.7544,
    "c": 0.19494,
    "h": 319.2
  },
  "luminance": 0.3906
}

Semantic roles & 50–950 ramp

primary
#E381FC
secondary
#DBF7D4
accent
#E6002F
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#171018
muted
#857F86

Preview Lab

Preview with #E381FC

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

Preview Lab → · Contrast checker → · Palette generator →

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