Skip to content

#e381eb

a light, vivid magenta / pink · neutral · closest name: Violet

RGB
227, 129, 235
HSL
296°, 73%, 71%
CMYK
3, 45, 0, 8
Luminance
0.3803

At a glance

Every number on this page in one read: what #e381eb is made of, how bright it looks, and which way it leans.

Hex
#e381eb
Hue
296°
magenta / pink
Saturation
73%
vivid
Lightness
71%
light
Brightness
92%
HSV value
Perceived
70%
weighted brightness
Luminance
0.3803
WCAG relative
Temperature
Neutral
53/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
Black
8.61:1
Closest name
Violet
ΔE2000 1.8
Where it sits
Hue296° of 360°
Saturation73%
Lightness71%
Temperature
Warm ← → Cool53% cool

Reads neutral. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#e381eb
RGBrgb(227, 129, 235)
HSLhsl(296, 73%, 71%)
CMYKcmyk(3%, 45%, 0%, 8%)
LABlab(68.0 53.2 -37.8)
LCHlch(68.0 65.3 324.6)
OKLCHoklch(0.746 0.178 324.4)
Decimal14909931
Display P3color(display-p3 0.890 0.506 0.922)

Copy-ready code

/* CSS */
color: #e381eb;
background-color: #e381eb;
/* Tailwind (arbitrary) */
class="text-[#e381eb] bg-[#e381eb]"
/* SCSS */
$brand: #e381eb;
/* SwiftUI */
Color(red: 0.890, green: 0.506, blue: 0.922)
/* Android */
Color.parseColor("#e381eb")
/* Flutter */
Color(0xFFE381EB)
/* Python / OpenCV (BGR) */
(235, 129, 227)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#000000 on #e381eb · 8.61:1
Use #000000AAA at every size.
Aa
White text · 2.44:1
AA fail · AA large fail · AAA fail
Aa
Black text · 8.61:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #e381eb as text scores 2.44:1 on white and 8.61:1 on black.

Accessibility — WCAG contrast

Aa
#e381eb on white: 2.44:1
AA ✗ fail · AA-large · AAA
Aa
#e381eb on black: 8.61:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #759EEF
deuteranopia · #91AAE8
tritanopia · #E78DAB

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #e381eb is pinned to step 400; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#FBF3FC
#F7E7F8
#F0C9F3
#EA9EF0
#e381eb
#D43DE0
#C622D3
#A51CB0
#84168D
#601466
#3C0D40
Base = 400Lightest = 50 · #FBF3FCDarkest = 950 · #3C0D40
:root {
  --brand-50: #FBF3FC;
  --brand-100: #F7E7F8;
  --brand-200: #F0C9F3;
  --brand-300: #EA9EF0;
  --brand-400: #e381eb;
  --brand-500: #D43DE0;
  --brand-600: #C622D3;
  --brand-700: #A51CB0;
  --brand-800: #84168D;
  --brand-900: #601466;
  --brand-950: #3C0D40;
  --brand: #e381eb;
  --brand-ink: #000000;
}

Colors that work with #e381eb

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#FAF4FA
Tinted page background
Border#E9C0ED
Hairlines and dividers
Muted text#954B9B
Captions on the surface
Accent#4BB418
Second voice, not a rival
Dark variant#67116E
Hover, pressed, headers
Light variant#FAE9FC
Selected rows, tints
Dark surface#231424
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #e381eb

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Card and section backgrounds
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • Full-page backgrounds — tiring over long sessions
  • White text placed on it
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#89EB81
Analogous left#AE81EB
Analogous right#EB81BE
Split-complement 1#BEEB81
Split-complement 2#81EBAE
Triadic 1#EBE381
Triadic 2#81EBE3
Tetradic#EBAE81

RGB percentages

Red89.0%
Green50.6%
Blue92.2%

CMYK percentages

Cyan3.4%
Magenta45.1%
Yellow0.0%
Key (black)7.8%

Color previews

#e381eb text on a black background

contrast 8.61:1

Card sample

#e381eb text on a white background

contrast 2.44:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #e381eb;
Background color
Panel with #e381eb background
background-color: #e381eb;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #e381eb;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(227, 129, 235, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(227, 129, 235, 0.45);
Border & gradient
Gradient panel
border: 3px solid #e381eb;
background: linear-gradient(135deg, #e381eb, #EB81AC);

Monochromatic scale

Palettes built from #e381eb

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#e381eb in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
BeautyFashionLifestyleYouth brands
Common UI roles
SurfacesBadgesHighlightsEmpty states
Print note

Converts to four-color process without much drama. Proof it anyway.

#e381eb, answered

What color is #e381eb?

#e381eb is a light vivid magenta / pink, closest to Violet (ΔE2000 1.8). It sits at 296° on the hue wheel with 73% saturation and 71% lightness, which reads as neutral.

What is the RGB value of #e381eb?

rgb(227, 129, 235) — 227 red, 129 green and 235 blue out of 255, or 89% / 50.6% / 92.2% by channel.

Is #e381eb a light or a dark color?

It is a mid-tone. Relative luminance is 0.3803 and perceived brightness is 70%, so black text on it reaches 8.61:1.

Should I use black or white text on #e381eb?

Black. It scores 8.61:1 against #e381eb, versus 2.44:1 for white — AAA at any size.

What is the complementary color of #e381eb?

#89EB81 sits directly opposite on the wheel. Softer options are the split-complements #BEEB81 and #81EBAE, which give the same contrast with far less vibration.

What colors go well with #e381eb?

For interface work: #FAF4FA as the surface, #E9C0ED for borders, #954B9B for secondary text, #4BB418 as an accent and #67116E for hover and pressed states. For a palette, the analogous pair #AE81EB and #EB81BE stays calm, while #89EB81 is the loudest partner.

What is #e381eb in CMYK for printing?

cmyk(3%, 45%, 0%, 8%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #e381eb warm or cool?

Neutral — it scores 53 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #EB81CC; nudged cooler, #BC80EC.

Work with #e381eb in the Color Lab