Skip to content

#f578fc

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

RGB
245, 120, 252
HSL
297°, 96%, 73%
CMYK
3, 52, 0, 1
Luminance
0.3987

At a glance

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

Hex
#f578fc
Hue
297°
magenta / pink
Saturation
96%
electric
Lightness
73%
light
Brightness
99%
HSV value
Perceived
72%
weighted brightness
Luminance
0.3987
WCAG relative
Temperature
Neutral
52/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
8.97:1
Closest name
Violet
ΔE2000 2.9
Where it sits
Hue297° of 360°
Saturation96%
Lightness73%
Temperature
Warm ← → Cool52% 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#f578fc
RGBrgb(245, 120, 252)
HSLhsl(297, 96%, 73%)
CMYKcmyk(3%, 52%, 0%, 1%)
LABlab(69.4 65.5 -44.9)
LCHlch(69.4 79.4 325.6)
OKLCHoklch(0.763 0.218 325.4)
Decimal16087292
Display P3color(display-p3 0.961 0.471 0.988)

Copy-ready code

/* CSS */
color: #f578fc;
background-color: #f578fc;
/* Tailwind (arbitrary) */
class="text-[#f578fc] bg-[#f578fc]"
/* SCSS */
$brand: #f578fc;
/* SwiftUI */
Color(red: 0.961, green: 0.471, blue: 0.988)
/* Android */
Color.parseColor("#f578fc")
/* Flutter */
Color(0xFFF578FC)
/* Python / OpenCV (BGR) */
(252, 120, 245)

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

Accessibility — WCAG contrast

Aa
#f578fc on white: 2.34:1
AA ✗ fail · AA-large · AAA
Aa
#f578fc on black: 8.97:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #689FFF
deuteranopia · #8FAFF8
tritanopia · #FA88AF

Color scale — 50 to 950

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

#FDF1FD
#FAE4FC
#F7C1FA
#f578fc
#F35AFB
#EF23FA
#E305F0
#BD04C8
#9704A0
#6D0773
#440548
Base = 300Lightest = 50 · #FDF1FDDarkest = 950 · #440548
:root {
  --brand-50: #FDF1FD;
  --brand-100: #FAE4FC;
  --brand-200: #F7C1FA;
  --brand-300: #f578fc;
  --brand-400: #F35AFB;
  --brand-500: #EF23FA;
  --brand-600: #E305F0;
  --brand-700: #BD04C8;
  --brand-800: #9704A0;
  --brand-900: #6D0773;
  --brand-950: #440548;
  --brand: #f578fc;
  --brand-ink: #000000;
}

Colors that work with #f578fc

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#EAC0ED
Hairlines and dividers
Muted text#974B9B
Captions on the surface
Accent#3ECC00
Second voice, not a rival
Dark variant#76037D
Hover, pressed, headers
Light variant#FDE6FE
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 #f578fc

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#7FFC78
Analogous left#B378FC
Analogous right#FC78C1
Split-complement 1#C1FC78
Split-complement 2#78FCB3
Triadic 1#FCF578
Triadic 2#78FCF5
Tetradic#FCB378

RGB percentages

Red96.1%
Green47.1%
Blue98.8%

CMYK percentages

Cyan2.8%
Magenta52.4%
Yellow0.0%
Key (black)1.2%

Color previews

#f578fc text on a black background

contrast 8.97:1

Card sample

#f578fc text on a white background

contrast 2.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(245, 120, 252, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(245, 120, 252, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f578fc;
background: linear-gradient(135deg, #f578fc, #FC78AB);

Monochromatic scale

Palettes built from #f578fc

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.

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

#f578fc, answered

What color is #f578fc?

#f578fc is a light electric magenta / pink, closest to Violet (ΔE2000 2.9). It sits at 297° on the hue wheel with 96% saturation and 73% lightness, which reads as neutral.

What is the RGB value of #f578fc?

rgb(245, 120, 252) — 245 red, 120 green and 252 blue out of 255, or 96.1% / 47.1% / 98.8% by channel.

Is #f578fc a light or a dark color?

It is a mid-tone. Relative luminance is 0.3987 and perceived brightness is 72%, so black text on it reaches 8.97:1.

Should I use black or white text on #f578fc?

Black. It scores 8.97:1 against #f578fc, versus 2.34:1 for white — AAA at any size.

What is the complementary color of #f578fc?

#7FFC78 sits directly opposite on the wheel. Softer options are the split-complements #C1FC78 and #78FCB3, which give the same contrast with far less vibration.

What colors go well with #f578fc?

For interface work: #FAF4FA as the surface, #EAC0ED for borders, #974B9B for secondary text, #3ECC00 as an accent and #76037D for hover and pressed states. For a palette, the analogous pair #B378FC and #FC78C1 stays calm, while #7FFC78 is the loudest partner.

What is #f578fc in CMYK for printing?

cmyk(3%, 52%, 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 #f578fc warm or cool?

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

Work with #f578fc in the Color Lab