Skip to content

#eb8bf2

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

RGB
235, 139, 242
HSL
296°, 80%, 75%
CMYK
3, 43, 0, 5
Luminance
0.4254

At a glance

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

Hex
#eb8bf2
Hue
296°
magenta / pink
Saturation
80%
electric
Lightness
75%
light
Brightness
95%
HSV value
Perceived
73%
weighted brightness
Luminance
0.4254
WCAG relative
Temperature
Neutral
52/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
9.51:1
Closest name
Violet
ΔE2000 1.9
Where it sits
Hue296° of 360°
Saturation80%
Lightness75%
Temperature
Warm ← → Cool52% 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#eb8bf2
RGBrgb(235, 139, 242)
HSLhsl(296, 80%, 75%)
CMYKcmyk(3%, 43%, 0%, 5%)
LABlab(71.2 51.7 -36.6)
LCHlch(71.2 63.4 324.7)
OKLCHoklch(0.773 0.173 324.6)
Decimal15436786
Display P3color(display-p3 0.922 0.545 0.949)

Copy-ready code

/* CSS */
color: #eb8bf2;
background-color: #eb8bf2;
/* Tailwind (arbitrary) */
class="text-[#eb8bf2] bg-[#eb8bf2]"
/* SCSS */
$brand: #eb8bf2;
/* SwiftUI */
Color(red: 0.922, green: 0.545, blue: 0.949)
/* Android */
Color.parseColor("#eb8bf2")
/* Flutter */
Color(0xFFEB8BF2)
/* Python / OpenCV (BGR) */
(242, 139, 235)

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 #eb8bf2 · 9.51:1
Use #000000AAA at every size.
Aa
White text · 2.21:1
AA fail · AA large fail · AAA fail
Aa
Black text · 9.51:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #eb8bf2 as text scores 2.21:1 on white and 9.51:1 on black.

Accessibility — WCAG contrast

Aa
#eb8bf2 on white: 2.21:1
AA ✗ fail · AA-large · AAA
Aa
#eb8bf2 on black: 9.51:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #80A7F6
deuteranopia · #9AB3EF
tritanopia · #EF96B3

Color scale — 50 to 950

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

#FBF3FC
#F8E6F9
#F2C7F5
#eb8bf2
#E568EE
#DC35E8
#CF19DC
#AC15B7
#8A1093
#64106A
#3E0A42
Base = 300Lightest = 50 · #FBF3FCDarkest = 950 · #3E0A42
:root {
  --brand-50: #FBF3FC;
  --brand-100: #F8E6F9;
  --brand-200: #F2C7F5;
  --brand-300: #eb8bf2;
  --brand-400: #E568EE;
  --brand-500: #DC35E8;
  --brand-600: #CF19DC;
  --brand-700: #AC15B7;
  --brand-800: #8A1093;
  --brand-900: #64106A;
  --brand-950: #3E0A42;
  --brand: #eb8bf2;
  --brand-ink: #000000;
}

Colors that work with #eb8bf2

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#EAC0ED
Hairlines and dividers
Muted text#954B9B
Captions on the surface
Accent#47BC10
Second voice, not a rival
Dark variant#6C0D73
Hover, pressed, headers
Light variant#FBE8FC
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 #eb8bf2

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#92F28B
Analogous left#B78BF2
Analogous right#F28BC6
Split-complement 1#C6F28B
Split-complement 2#8BF2B7
Triadic 1#F2EB8B
Triadic 2#8BF2EB
Tetradic#F2B78B

RGB percentages

Red92.2%
Green54.5%
Blue94.9%

CMYK percentages

Cyan2.9%
Magenta42.6%
Yellow0.0%
Key (black)5.1%

Color previews

#eb8bf2 text on a black background

contrast 9.51:1

Card sample

#eb8bf2 text on a white background

contrast 2.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eb8bf2

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.

#eb8bf2 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

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#eb8bf2, answered

What color is #eb8bf2?

#eb8bf2 is a light electric magenta / pink, closest to Violet (ΔE2000 1.9). It sits at 296° on the hue wheel with 80% saturation and 75% lightness, which reads as neutral.

What is the RGB value of #eb8bf2?

rgb(235, 139, 242) — 235 red, 139 green and 242 blue out of 255, or 92.2% / 54.5% / 94.9% by channel.

Is #eb8bf2 a light or a dark color?

It is a mid-tone. Relative luminance is 0.4254 and perceived brightness is 73%, so black text on it reaches 9.51:1.

Should I use black or white text on #eb8bf2?

Black. It scores 9.51:1 against #eb8bf2, versus 2.21:1 for white — AAA at any size.

What is the complementary color of #eb8bf2?

#92F28B sits directly opposite on the wheel. Softer options are the split-complements #C6F28B and #8BF2B7, which give the same contrast with far less vibration.

What colors go well with #eb8bf2?

For interface work: #FAF4FA as the surface, #EAC0ED for borders, #954B9B for secondary text, #47BC10 as an accent and #6C0D73 for hover and pressed states. For a palette, the analogous pair #B78BF2 and #F28BC6 stays calm, while #92F28B is the loudest partner.

What is #eb8bf2 in CMYK for printing?

cmyk(3%, 43%, 0%, 5%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #eb8bf2 warm or cool?

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

Work with #eb8bf2 in the Color Lab