Skip to content

#eb5ffe

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

RGB
235, 95, 254
HSL
293°, 99%, 68%
CMYK
8, 63, 0, 0
Luminance
0.3300

At a glance

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

Hex
#eb5ffe
Hue
293°
magenta / pink
Saturation
99%
electric
Lightness
68%
light
Brightness
100%
HSV value
Perceived
67%
weighted brightness
Luminance
0.3300
WCAG relative
Temperature
Neutral
54/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
7.60:1
Closest name
Magenta
ΔE2000 6
Where it sits
Hue293° of 360°
Saturation99%
Lightness68%
Temperature
Warm ← → Cool54% 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#eb5ffe
RGBrgb(235, 95, 254)
HSLhsl(293, 99%, 68%)
CMYKcmyk(8%, 63%, 0%, 0%)
LABlab(64.2 74.2 -54.3)
LCHlch(64.2 92.0 323.8)
OKLCHoklch(0.723 0.250 322.7)
Decimal15425534
Display P3color(display-p3 0.922 0.373 0.996)

Copy-ready code

/* CSS */
color: #eb5ffe;
background-color: #eb5ffe;
/* Tailwind (arbitrary) */
class="text-[#eb5ffe] bg-[#eb5ffe]"
/* SCSS */
$brand: #eb5ffe;
/* SwiftUI */
Color(red: 0.922, green: 0.373, blue: 0.996)
/* Android */
Color.parseColor("#eb5ffe")
/* Flutter */
Color(0xFFEB5FFE)
/* Python / OpenCV (BGR) */
(254, 95, 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 #eb5ffe · 7.60:1
Use #000000AAA at every size.
Aa
White text · 2.76:1
AA fail · AA large fail · AAA fail
Aa
Black text · 7.60:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #eb5ffe as text scores 2.76:1 on white and 7.60:1 on black.

Accessibility — WCAG contrast

Aa
#eb5ffe on white: 2.76:1
AA ✗ fail · AA-large · AAA
Aa
#eb5ffe on black: 7.60:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #3B91FF
deuteranopia · #75A1FA
tritanopia · #EE78A7

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #eb5ffe 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.

#FCF1FE
#F9E3FC
#F4C0FB
#F18FFE
#eb5ffe
#E320FE
#D601F3
#B301CB
#8F01A2
#670675
#410349
Base = 400Lightest = 50 · #FCF1FEDarkest = 950 · #410349
:root {
  --brand-50: #FCF1FE;
  --brand-100: #F9E3FC;
  --brand-200: #F4C0FB;
  --brand-300: #F18FFE;
  --brand-400: #eb5ffe;
  --brand-500: #E320FE;
  --brand-600: #D601F3;
  --brand-700: #B301CB;
  --brand-800: #8F01A2;
  --brand-900: #670675;
  --brand-950: #410349;
  --brand: #eb5ffe;
  --brand-ink: #000000;
}

Colors that work with #eb5ffe

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#E7C0ED
Hairlines and dividers
Muted text#914B9B
Captions on the surface
Accent#4BCC00
Second voice, not a rival
Dark variant#70017F
Hover, pressed, headers
Light variant#FCE6FF
Selected rows, tints
Dark surface#221424
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 #eb5ffe

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#72FE5F
Analogous left#9B5FFE
Analogous right#FE5FC2
Split-complement 1#C2FE5F
Split-complement 2#5FFE9B
Triadic 1#FEEB5F
Triadic 2#5FFEEB
Tetradic#FE9B5F

RGB percentages

Red92.2%
Green37.3%
Blue99.6%

CMYK percentages

Cyan7.5%
Magenta62.6%
Yellow0.0%
Key (black)0.4%

Color previews

#eb5ffe text on a black background

contrast 7.60:1

Card sample

#eb5ffe text on a white background

contrast 2.76:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eb5ffe

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.

#eb5ffe 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.

#eb5ffe, answered

What color is #eb5ffe?

#eb5ffe is a light electric magenta / pink, closest to Magenta (ΔE2000 6). It sits at 293° on the hue wheel with 99% saturation and 68% lightness, which reads as neutral.

What is the RGB value of #eb5ffe?

rgb(235, 95, 254) — 235 red, 95 green and 254 blue out of 255, or 92.2% / 37.3% / 99.6% by channel.

Is #eb5ffe a light or a dark color?

It is a mid-tone. Relative luminance is 0.3300 and perceived brightness is 67%, so black text on it reaches 7.60:1.

Should I use black or white text on #eb5ffe?

Black. It scores 7.60:1 against #eb5ffe, versus 2.76:1 for white — AAA at any size.

What is the complementary color of #eb5ffe?

#72FE5F sits directly opposite on the wheel. Softer options are the split-complements #C2FE5F and #5FFE9B, which give the same contrast with far less vibration.

What colors go well with #eb5ffe?

For interface work: #FAF4FA as the surface, #E7C0ED for borders, #914B9B for secondary text, #4BCC00 as an accent and #70017F for hover and pressed states. For a palette, the analogous pair #9B5FFE and #FE5FC2 stays calm, while #72FE5F is the loudest partner.

What is #eb5ffe in CMYK for printing?

cmyk(8%, 63%, 0%, 0%). 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 #eb5ffe warm or cool?

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

Work with #eb5ffe in the Color Lab