#E381F2#E381F2

#E381F2 is a light, vivid purple. Relative luminance 0.384; OKLCH L 75.0% C 0.185 H 322.1°. Best body text is #000000 at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#E381F2
RGBrgb(227, 129, 242)
HSLhsl(292, 81%, 73%)
HSVhsv(292, 47%, 95%)
CMYKcmyk(6.2%, 46.7%, 0%, 5.1%)
CIE-LABlab(68.35, 54.49, -41.21)
CIE-LCHlch(68.35, 68.32, 322.90°)
OKLaboklab(74.96% 0.1462 -0.1136)
OKLCHoklch(74.96% 0.185 322.1)
XYZxyz(55.5541, 38.4445, 88.4814)
Luminance0.3844 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E381F2 #90F281
analogous
#AA81F2 #E381F2 #F281C9
triadic
#E381F2 #F2E381 #81F2E3
tetradic
#E381F2 #F2AA81 #90F281 #81C9F2
square
#E381F2 #F2AA81 #90F281 #81C9F2
split-complementary
#E381F2 #C9F281 #81F2AA
monochromatic
#C717E1 #D74AEC #E381F2 #EFB8F8 #F9E3FC

Accessibility & contrast

On white

2.42
#E381F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.69
#E381F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E381F2
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E381F2#FFFFFF#000000##000000
##E381F21.002.428.698.69
#FFFFFF2.421.0021.0021.00
#0000008.6921.001.001.00
##0000008.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#719FF6
Deuteranopia (green-blind)
#8EABEF
Tritanopia (blue-blind)
#E68FAE
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #e381f2;
/* rgb */ color: rgb(227, 129, 242);
/* oklch */ color: oklch(75.0% 0.185 322.1);
Tailwind
colors: {
  custom: {
    50: '#eea8f6',
    500: '#e381f2',
    950: '#000000',
  },
}
SCSS
$custom: #e381f2;
$custom-light: #eea8f6;
$custom-dark: #000000;
JSON
{
  "hex": "#e381f2",
  "rgb": {
    "r": 227,
    "g": 129,
    "b": 242
  },
  "hsl": {
    "h": 292.035,
    "s": 81.295,
    "l": 72.745
  },
  "oklch": {
    "l": 0.7496,
    "c": 0.18513,
    "h": 322.1
  },
  "luminance": 0.38442
}

Semantic roles & 50–950 ramp

primary
#E381F2
secondary
#DBF4D7
accent
#DE0824
background
#FEFAFF
surface
#FDF4FE
border
#D5CED6
text
#171017
muted
#857F85

Preview Lab

Preview with #E381F2

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

Preview Lab → · Contrast checker → · Palette generator →

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