Skip to content

#f790fd

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

RGB
247, 144, 253
HSL
297°, 97%, 78%
CMYK
2, 43, 0, 1
Luminance
0.4681

At a glance

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

Hex
#f790fd
Hue
297°
magenta / pink
Saturation
97%
electric
Lightness
78%
light
Brightness
99%
HSV value
Perceived
76%
weighted brightness
Luminance
0.4681
WCAG relative
Temperature
Neutral
52/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
10.36:1
Closest name
Violet
ΔE2000 3.4
Where it sits
Hue297° of 360°
Saturation97%
Lightness78%
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#f790fd
RGBrgb(247, 144, 253)
HSLhsl(297, 97%, 78%)
CMYKcmyk(2%, 43%, 0%, 1%)
LABlab(74.1 54.7 -38.1)
LCHlch(74.1 66.6 325.1)
OKLCHoklch(0.799 0.183 325.1)
Decimal16224509
Display P3color(display-p3 0.969 0.565 0.992)

Copy-ready code

/* CSS */
color: #f790fd;
background-color: #f790fd;
/* Tailwind (arbitrary) */
class="text-[#f790fd] bg-[#f790fd]"
/* SCSS */
$brand: #f790fd;
/* SwiftUI */
Color(red: 0.969, green: 0.565, blue: 0.992)
/* Android */
Color.parseColor("#f790fd")
/* Flutter */
Color(0xFFF790FD)
/* Python / OpenCV (BGR) */
(253, 144, 247)

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

Accessibility — WCAG contrast

Aa
#f790fd on white: 2.03:1
AA ✗ fail · AA-large · AAA
Aa
#f790fd on black: 10.36:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #85AEFF
deuteranopia · #A1BBFA
tritanopia · #FC9CBB

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #f790fd 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
#F7C1FB
#f790fd
#F35AFC
#EF23FB
#E404F1
#BE04C8
#9803A0
#6E0774
#440448
Base = 300Lightest = 50 · #FDF1FDDarkest = 950 · #440448
:root {
  --brand-50: #FDF1FD;
  --brand-100: #FAE4FC;
  --brand-200: #F7C1FB;
  --brand-300: #f790fd;
  --brand-400: #F35AFC;
  --brand-500: #EF23FB;
  --brand-600: #E404F1;
  --brand-700: #BE04C8;
  --brand-800: #9803A0;
  --brand-900: #6E0774;
  --brand-950: #440448;
  --brand: #f790fd;
  --brand-ink: #000000;
}

Colors that work with #f790fd

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#964B9B
Captions on the surface
Accent#3ECC00
Second voice, not a rival
Dark variant#77027D
Hover, pressed, headers
Light variant#FDE6FF
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 #f790fd

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#96FD90
Analogous left#C090FD
Analogous right#FD90CC
Split-complement 1#CCFD90
Split-complement 2#90FDC0
Triadic 1#FDF790
Triadic 2#90FDF7
Tetradic#FDC090

RGB percentages

Red96.9%
Green56.5%
Blue99.2%

CMYK percentages

Cyan2.4%
Magenta43.1%
Yellow0.0%
Key (black)0.8%

Color previews

#f790fd text on a black background

contrast 10.36:1

Card sample

#f790fd text on a white background

contrast 2.03:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f790fd

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.

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

#f790fd, answered

What color is #f790fd?

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

What is the RGB value of #f790fd?

rgb(247, 144, 253) — 247 red, 144 green and 253 blue out of 255, or 96.9% / 56.5% / 99.2% by channel.

Is #f790fd a light or a dark color?

It is a mid-tone. Relative luminance is 0.4681 and perceived brightness is 76%, so black text on it reaches 10.36:1.

Should I use black or white text on #f790fd?

Black. It scores 10.36:1 against #f790fd, versus 2.03:1 for white — AAA at any size.

What is the complementary color of #f790fd?

#96FD90 sits directly opposite on the wheel. Softer options are the split-complements #CCFD90 and #90FDC0, which give the same contrast with far less vibration.

What colors go well with #f790fd?

For interface work: #FAF4FA as the surface, #EAC0ED for borders, #964B9B for secondary text, #3ECC00 as an accent and #77027D for hover and pressed states. For a palette, the analogous pair #C090FD and #FD90CC stays calm, while #96FD90 is the loudest partner.

What is #f790fd in CMYK for printing?

cmyk(2%, 43%, 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 #f790fd 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 #FD90DB; nudged cooler, #CF8FFE.

Work with #f790fd in the Color Lab