Skip to content

#eb8bfd

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

RGB
235, 139, 253
HSL
291°, 97%, 77%
CMYK
7, 45, 0, 1
Luminance
0.4322

At a glance

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

Hex
#eb8bfd
Hue
291°
magenta / pink
Saturation
97%
electric
Lightness
77%
light
Brightness
99%
HSV value
Perceived
74%
weighted brightness
Luminance
0.4322
WCAG relative
Temperature
Neutral
55/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
9.64:1
Closest name
Violet
ΔE2000 3.1
Where it sits
Hue291° of 360°
Saturation97%
Lightness77%
Temperature
Warm ← → Cool55% 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#eb8bfd
RGBrgb(235, 139, 253)
HSLhsl(291, 97%, 77%)
CMYKcmyk(7%, 45%, 0%, 1%)
LABlab(71.7 53.8 -41.9)
LCHlch(71.7 68.2 322.1)
OKLCHoklch(0.778 0.184 321.1)
Decimal15436797
Display P3color(display-p3 0.922 0.545 0.992)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eb8bfd on white: 2.18:1
AA ✗ fail · AA-large · AAA
Aa
#eb8bfd on black: 9.64:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #7BA9FF
deuteranopia · #96B3FA
tritanopia · #ED99B8

Color scale — 50 to 950

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

#FBF1FD
#F8E4FC
#F1C1FB
#eb8bfd
#E25AFC
#D922FB
#CB04F1
#A903C9
#8703A0
#620774
#3D0448
Base = 300Lightest = 50 · #FBF1FDDarkest = 950 · #3D0448
:root {
  --brand-50: #FBF1FD;
  --brand-100: #F8E4FC;
  --brand-200: #F1C1FB;
  --brand-300: #eb8bfd;
  --brand-400: #E25AFC;
  --brand-500: #D922FB;
  --brand-600: #CB04F1;
  --brand-700: #A903C9;
  --brand-800: #8703A0;
  --brand-900: #620774;
  --brand-950: #3D0448;
  --brand: #eb8bfd;
  --brand-ink: #000000;
}

Colors that work with #eb8bfd

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#F9F4FA
Tinted page background
Border#E6C0ED
Hairlines and dividers
Muted text#8E4B9B
Captions on the surface
Accent#53CC00
Second voice, not a rival
Dark variant#6A027D
Hover, pressed, headers
Light variant#FBE6FF
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 #eb8bfd

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#9DFD8B
Analogous left#B28BFD
Analogous right#FD8BD6
Split-complement 1#D6FD8B
Split-complement 2#8BFDB2
Triadic 1#FDEB8B
Triadic 2#8BFDEB
Tetradic#FDB28B

RGB percentages

Red92.2%
Green54.5%
Blue99.2%

CMYK percentages

Cyan7.1%
Magenta45.1%
Yellow0.0%
Key (black)0.8%

Color previews

#eb8bfd text on a black background

contrast 9.64:1

Card sample

#eb8bfd text on a white background

contrast 2.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eb8bfd

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.

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

#eb8bfd, answered

What color is #eb8bfd?

#eb8bfd is a light electric magenta / pink, closest to Violet (ΔE2000 3.1). It sits at 291° on the hue wheel with 97% saturation and 77% lightness, which reads as neutral.

What is the RGB value of #eb8bfd?

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

Is #eb8bfd a light or a dark color?

It is a mid-tone. Relative luminance is 0.4322 and perceived brightness is 74%, so black text on it reaches 9.64:1.

Should I use black or white text on #eb8bfd?

Black. It scores 9.64:1 against #eb8bfd, versus 2.18:1 for white — AAA at any size.

What is the complementary color of #eb8bfd?

#9DFD8B sits directly opposite on the wheel. Softer options are the split-complements #D6FD8B and #8BFDB2, which give the same contrast with far less vibration.

What colors go well with #eb8bfd?

For interface work: #F9F4FA as the surface, #E6C0ED for borders, #8E4B9B for secondary text, #53CC00 as an accent and #6A027D for hover and pressed states. For a palette, the analogous pair #B28BFD and #FD8BD6 stays calm, while #9DFD8B is the loudest partner.

What is #eb8bfd in CMYK for printing?

cmyk(7%, 45%, 0%, 1%). 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 #eb8bfd warm or cool?

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

Work with #eb8bfd in the Color Lab