#E381EC#E381EC

#E381EC is a light, vivid purple. Relative luminance 0.381; OKLCH L 74.7% C 0.179 H 324.0°. Best body text is #000000 at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#E381EC
RGBrgb(227, 129, 236)
HSLhsl(295, 74%, 72%)
HSVhsv(295, 45%, 93%)
CMYKcmyk(3.8%, 45.3%, 0%, 7.5%)
CIE-LABlab(68.09, 53.37, -38.32)
CIE-LCHlch(68.09, 65.70, 324.33°)
OKLaboklab(74.68% 0.1452 -0.1053)
OKLCHoklch(74.68% 0.179 324)
XYZxyz(54.6677, 38.0900, 83.8131)
Luminance0.3809 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E381EC #8AEC81
analogous
#AE81EC #E381EC #EC81C0
triadic
#E381EC #ECE381 #81ECE3
tetradic
#E381EC #ECAE81 #8AEC81 #81C0EC
square
#E381EC #ECAE81 #8AEC81 #81C0EC
split-complementary
#E381EC #C0EC81 #81ECAE
monochromatic
#C420D3 #D74CE4 #E381EC #EFB6F4 #F9E4FB

Accessibility & contrast

On white

2.44
#E381EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.62
#E381EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E381EC
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E381EC#FFFFFF#000000##000000
##E381EC1.002.448.628.62
#FFFFFF2.441.0021.0021.00
#0000008.6221.001.001.00
##0000008.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#749EF0
Deuteranopia (green-blind)
#90AAE9
Tritanopia (blue-blind)
#E78DAC
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #e381ec;
/* rgb */ color: rgb(227, 129, 236);
/* oklch */ color: oklch(74.7% 0.179 324.0);
Tailwind
colors: {
  custom: {
    50: '#eea8f2',
    500: '#e381ec',
    950: '#000000',
  },
}
SCSS
$custom: #e381ec;
$custom-light: #eea8f2;
$custom-dark: #000000;
JSON
{
  "hex": "#e381ec",
  "rgb": {
    "r": 227,
    "g": 129,
    "b": 236
  },
  "hsl": {
    "h": 294.953,
    "s": 73.793,
    "l": 71.569
  },
  "oklch": {
    "l": 0.74681,
    "c": 0.17937,
    "h": 324
  },
  "luminance": 0.38088
}

Semantic roles & 50–950 ramp

primary
#E381EC
secondary
#D9F2D7
accent
#D61020
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#171017
muted
#857F85

Preview Lab

Preview with #E381EC

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

Preview Lab → · Contrast checker → · Palette generator →

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