#E381F7#E381F7

#E381F7 is a light, vivid purple. Relative luminance 0.387; OKLCH L 75.2% C 0.190 H 320.6°. Best body text is #000000 at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#E381F7
RGBrgb(227, 129, 247)
HSLhsl(290, 88%, 74%)
HSVhsv(290, 48%, 97%)
CMYKcmyk(8.1%, 47.8%, 0%, 3.1%)
CIE-LABlab(68.57, 55.43, -43.60)
CIE-LCHlch(68.57, 70.53, 321.81°)
OKLaboklab(75.2% 0.1469 -0.1205)
OKLCHoklch(75.2% 0.19 320.6)
XYZxyz(56.3153, 38.7490, 92.4905)
Luminance0.3875 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E381F7 #95F781
analogous
#A881F7 #E381F7 #F781D0
triadic
#E381F7 #F7E381 #81F7E3
tetradic
#E381F7 #F7A881 #95F781 #81D0F7
square
#E381F7 #F7A881 #95F781 #81D0F7
split-complementary
#E381F7 #D0F781 #81F7A8
monochromatic
#C90FEE #D647F3 #E381F7 #F0BBFB #F9E2FD

Accessibility & contrast

On white

2.40
#E381F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.75
#E381F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E381F7
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E381F7#FFFFFF#000000##000000
##E381F71.002.408.758.75
#FFFFFF2.401.0021.0021.00
#0000008.7521.001.001.00
##0000008.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA0FB
Deuteranopia (green-blind)
#8BABF4
Tritanopia (blue-blind)
#E591B1
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #e381f7;
/* rgb */ color: rgb(227, 129, 247);
/* oklch */ color: oklch(75.2% 0.190 320.6);
Tailwind
colors: {
  custom: {
    50: '#eea8fa',
    500: '#e381f7',
    950: '#000000',
  },
}
SCSS
$custom: #e381f7;
$custom-light: #eea8fa;
$custom-dark: #000000;
JSON
{
  "hex": "#e381f7",
  "rgb": {
    "r": 227,
    "g": 129,
    "b": 247
  },
  "hsl": {
    "h": 289.831,
    "s": 88.06,
    "l": 73.725
  },
  "oklch": {
    "l": 0.75197,
    "c": 0.19001,
    "h": 320.6
  },
  "luminance": 0.38747
}

Semantic roles & 50–950 ramp

primary
#E381F7
secondary
#DBF5D6
accent
#E50127
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#171017
muted
#857F85

Preview Lab

Preview with #E381F7

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

Preview Lab → · Contrast checker → · Palette generator →

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