Skip to content

#eb7fee

a light, electric magenta / pink · neutral · “Violet”

RGB
235, 127, 238
HSL
298°, 77%, 72%
CMYK
1, 47, 0, 7
Luminance
0.3901

At a glance

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

Hex
#eb7fee
Hue
298°
magenta / pink
Saturation
77%
electric
Lightness
72%
light
Brightness
93%
HSV value
Perceived
71%
weighted brightness
Luminance
0.3901
WCAG relative
Temperature
Neutral
51/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
8.80:1
Closest name
Violet
ΔE2000 0.9
Where it sits
Hue298° of 360°
Saturation77%
Lightness72%
Temperature
Warm ← → Cool51% 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#eb7fee
RGBrgb(235, 127, 238)
HSLhsl(298, 77%, 72%)
CMYKcmyk(1%, 47%, 0%, 7%)
LABlab(68.8 57.0 -38.3)
LCHlch(68.8 68.7 326.1)
OKLCHoklch(0.754 0.189 326.3)
Decimal15433710
Display P3color(display-p3 0.922 0.498 0.933)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eb7fee on white: 2.39:1
AA ✗ fail · AA-large · AAA
Aa
#eb7fee on black: 8.80:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #749FF2
deuteranopia · #93ADEB
tritanopia · #F08BAC

Color scale — 50 to 950

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

#FCF3FC
#F8E7F9
#F3C8F4
#F09CF2
#eb7fee
#E039E5
#D31DD8
#B018B4
#8D1390
#661268
#400B41
Base = 400Lightest = 50 · #FCF3FCDarkest = 950 · #400B41
:root {
  --brand-50: #FCF3FC;
  --brand-100: #F8E7F9;
  --brand-200: #F3C8F4;
  --brand-300: #F09CF2;
  --brand-400: #eb7fee;
  --brand-500: #E039E5;
  --brand-600: #D31DD8;
  --brand-700: #B018B4;
  --brand-800: #8D1390;
  --brand-900: #661268;
  --brand-950: #400B41;
  --brand: #eb7fee;
  --brand-ink: #000000;
}

Colors that work with #eb7fee

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#EBC0ED
Hairlines and dividers
Muted text#994B9B
Captions on the surface
Accent#42B814
Second voice, not a rival
Dark variant#6E0F71
Hover, pressed, headers
Light variant#FBE8FC
Selected rows, tints
Dark surface#241424
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 #eb7fee

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#82EE7F
Analogous left#B47FEE
Analogous right#EE7FBA
Split-complement 1#BAEE7F
Split-complement 2#7FEEB4
Triadic 1#EEEB7F
Triadic 2#7FEEEB
Tetradic#EEB47F

RGB percentages

Red92.2%
Green49.8%
Blue93.3%

CMYK percentages

Cyan1.3%
Magenta46.6%
Yellow0.0%
Key (black)6.7%

Color previews

#eb7fee text on a black background

contrast 8.80:1

Card sample

#eb7fee text on a white background

contrast 2.39:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eb7fee

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.

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

#eb7fee, answered

What color is #eb7fee?

#eb7fee is a light electric magenta / pink — the CSS keyword Violet. It sits at 298° on the hue wheel with 77% saturation and 72% lightness, which reads as neutral.

What is the RGB value of #eb7fee?

rgb(235, 127, 238) — 235 red, 127 green and 238 blue out of 255, or 92.2% / 49.8% / 93.3% by channel.

Is #eb7fee a light or a dark color?

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

Should I use black or white text on #eb7fee?

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

What is the complementary color of #eb7fee?

#82EE7F sits directly opposite on the wheel. Softer options are the split-complements #BAEE7F and #7FEEB4, which give the same contrast with far less vibration.

What colors go well with #eb7fee?

For interface work: #FAF4FA as the surface, #EBC0ED for borders, #994B9B for secondary text, #42B814 as an accent and #6E0F71 for hover and pressed states. For a palette, the analogous pair #B47FEE and #EE7FBA stays calm, while #82EE7F is the loudest partner.

What is #eb7fee in CMYK for printing?

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

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

Work with #eb7fee in the Color Lab