Skip to content

#fe97eb

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

RGB
254, 151, 235
HSL
311°, 98%, 79%
CMYK
0, 41, 8, 0
Luminance
0.4920

At a glance

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

Hex
#fe97eb
Hue
311°
magenta / pink
Saturation
98%
electric
Lightness
79%
light
Brightness
100%
HSV value
Perceived
77%
weighted brightness
Luminance
0.4920
WCAG relative
Temperature
Neutral
44/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
10.84:1
Closest name
Violet
ΔE2000 6
Where it sits
Hue311° of 360°
Saturation98%
Lightness79%
Temperature
Warm ← → Cool44% 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#fe97eb
RGBrgb(254, 151, 235)
HSLhsl(311, 98%, 79%)
CMYKcmyk(0%, 41%, 8%, 0%)
LABlab(75.6 50.1 -25.9)
LCHlch(75.6 56.4 332.6)
OKLCHoklch(0.810 0.160 334.0)
Decimal16685035
Display P3color(display-p3 0.996 0.592 0.922)

Copy-ready code

/* CSS */
color: #fe97eb;
background-color: #fe97eb;
/* Tailwind (arbitrary) */
class="text-[#fe97eb] bg-[#fe97eb]"
/* SCSS */
$brand: #fe97eb;
/* SwiftUI */
Color(red: 0.996, green: 0.592, blue: 0.922)
/* Android */
Color.parseColor("#fe97eb")
/* Flutter */
Color(0xFFFE97EB)
/* Python / OpenCV (BGR) */
(235, 151, 254)

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

Accessibility — WCAG contrast

Aa
#fe97eb on white: 1.94:1
AA ✗ fail · AA-large · AAA
Aa
#fe97eb on black: 10.84:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #96B1EE
deuteranopia · #B1C0E8
tritanopia · #FF9CB7

Color scale — 50 to 950

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

#FDF1FB
#FCE3F7
#FBC1F0
#fe97eb
#FD58DF
#FD21D4
#F202C6
#CA02A5
#A20284
#740660
#49043C
Base = 300Lightest = 50 · #FDF1FBDarkest = 950 · #49043C
:root {
  --brand-50: #FDF1FB;
  --brand-100: #FCE3F7;
  --brand-200: #FBC1F0;
  --brand-300: #fe97eb;
  --brand-400: #FD58DF;
  --brand-500: #FD21D4;
  --brand-600: #F202C6;
  --brand-700: #CA02A5;
  --brand-800: #A20284;
  --brand-900: #740660;
  --brand-950: #49043C;
  --brand: #fe97eb;
  --brand-ink: #000000;
}

Colors that work with #fe97eb

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#FAF4F9
Tinted page background
Border#EDC0E4
Hairlines and dividers
Muted text#9B4B8C
Captions on the surface
Accent#0ECC00
Second voice, not a rival
Dark variant#7E0167
Hover, pressed, headers
Light variant#FFE6FA
Selected rows, tints
Dark surface#241421
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 #fe97eb

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#97FEAA
Analogous left#DE97FE
Analogous right#FE97B7
Split-complement 1#B7FE97
Split-complement 2#97FEDE
Triadic 1#EBFE97
Triadic 2#97EBFE
Tetradic#FEDE97

RGB percentages

Red99.6%
Green59.2%
Blue92.2%

CMYK percentages

Cyan0.0%
Magenta40.6%
Yellow7.5%
Key (black)0.4%

Color previews

#fe97eb text on a black background

contrast 10.84:1

Card sample

#fe97eb text on a white background

contrast 1.94:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fe97eb

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.

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

#fe97eb, answered

What color is #fe97eb?

#fe97eb is a light electric magenta / pink, closest to Violet (ΔE2000 6). It sits at 311° on the hue wheel with 98% saturation and 79% lightness, which reads as neutral.

What is the RGB value of #fe97eb?

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

Is #fe97eb a light or a dark color?

It is a mid-tone. Relative luminance is 0.4920 and perceived brightness is 77%, so black text on it reaches 10.84:1.

Should I use black or white text on #fe97eb?

Black. It scores 10.84:1 against #fe97eb, versus 1.94:1 for white — AAA at any size.

What is the complementary color of #fe97eb?

#97FEAA sits directly opposite on the wheel. Softer options are the split-complements #B7FE97 and #97FEDE, which give the same contrast with far less vibration.

What colors go well with #fe97eb?

For interface work: #FAF4F9 as the surface, #EDC0E4 for borders, #9B4B8C for secondary text, #0ECC00 as an accent and #7E0167 for hover and pressed states. For a palette, the analogous pair #DE97FE and #FE97B7 stays calm, while #97FEAA is the loudest partner.

What is #fe97eb in CMYK for printing?

cmyk(0%, 41%, 8%, 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 #fe97eb warm or cool?

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

Work with #fe97eb in the Color Lab