Skip to content

#eb7df4

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

RGB
235, 125, 244
HSL
296°, 84%, 72%
CMYK
4, 49, 0, 4
Luminance
0.3886

At a glance

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

Hex
#eb7df4
Hue
296°
magenta / pink
Saturation
84%
electric
Lightness
72%
light
Brightness
96%
HSV value
Perceived
71%
weighted brightness
Luminance
0.3886
WCAG relative
Temperature
Neutral
53/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
8.77:1
Closest name
Violet
ΔE2000 1.9
Where it sits
Hue296° of 360°
Saturation84%
Lightness72%
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#eb7df4
RGBrgb(235, 125, 244)
HSLhsl(296, 84%, 72%)
CMYKcmyk(4%, 49%, 0%, 4%)
LABlab(68.7 59.0 -41.8)
LCHlch(68.7 72.3 324.7)
OKLCHoklch(0.754 0.198 324.4)
Decimal15433204
Display P3color(display-p3 0.922 0.490 0.957)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eb7df4 on white: 2.39:1
AA ✗ fail · AA-large · AAA
Aa
#eb7df4 on black: 8.77:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #6E9FF8
deuteranopia · #8FACF1
tritanopia · #EF8BAE

Color scale — 50 to 950

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

#FCF2FC
#F8E6FA
#F3C5F7
#EF98F6
#eb7df4
#DF30ED
#D213E2
#AF10BC
#8C0D96
#660E6D
#3F0944
Base = 400Lightest = 50 · #FCF2FCDarkest = 950 · #3F0944
:root {
  --brand-50: #FCF2FC;
  --brand-100: #F8E6FA;
  --brand-200: #F3C5F7;
  --brand-300: #EF98F6;
  --brand-400: #eb7df4;
  --brand-500: #DF30ED;
  --brand-600: #D213E2;
  --brand-700: #AF10BC;
  --brand-800: #8C0D96;
  --brand-900: #660E6D;
  --brand-950: #3F0944;
  --brand: #eb7df4;
  --brand-ink: #000000;
}

Colors that work with #eb7df4

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#47C00C
Second voice, not a rival
Dark variant#6D0A76
Hover, pressed, headers
Light variant#FBE7FD
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 #eb7df4

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#86F47D
Analogous left#B07DF4
Analogous right#F47DC2
Split-complement 1#C2F47D
Split-complement 2#7DF4B0
Triadic 1#F4EB7D
Triadic 2#7DF4EB
Tetradic#F4B07D

RGB percentages

Red92.2%
Green49.0%
Blue95.7%

CMYK percentages

Cyan3.7%
Magenta48.8%
Yellow0.0%
Key (black)4.3%

Color previews

#eb7df4 text on a black background

contrast 8.77:1

Card sample

#eb7df4 text on a white background

contrast 2.39:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eb7df4

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.

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

#eb7df4, answered

What color is #eb7df4?

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

What is the RGB value of #eb7df4?

rgb(235, 125, 244) — 235 red, 125 green and 244 blue out of 255, or 92.2% / 49% / 95.7% by channel.

Is #eb7df4 a light or a dark color?

It is a mid-tone. Relative luminance is 0.3886 and perceived brightness is 71%, so black text on it reaches 8.77:1.

Should I use black or white text on #eb7df4?

Black. It scores 8.77:1 against #eb7df4, versus 2.39:1 for white — AAA at any size.

What is the complementary color of #eb7df4?

#86F47D sits directly opposite on the wheel. Softer options are the split-complements #C2F47D and #7DF4B0, which give the same contrast with far less vibration.

What colors go well with #eb7df4?

For interface work: #FAF4FA as the surface, #E9C0ED for borders, #954B9B for secondary text, #47C00C as an accent and #6D0A76 for hover and pressed states. For a palette, the analogous pair #B07DF4 and #F47DC2 stays calm, while #86F47D is the loudest partner.

What is #eb7df4 in CMYK for printing?

cmyk(4%, 49%, 0%, 4%). 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 #eb7df4 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 #F47DD1; nudged cooler, #C07CF5.

Work with #eb7df4 in the Color Lab