#F798F1 Color Information

Hex color code: #F798F1

A ethereal magenta shade, #F798F1 appears as (247, 152, 241) in RGB and (304°, 86%, 78%) in HSL. It is typically applied in digital products.

Try:
Color NameViolet
HEX
#F798F1
RGB
247, 152, 241
HSL
304°, 86%, 78%
CMYK
0%, 38%, 2%, 3%

Shades

CSS Usage
color: #F798F1;
background-color: #F798F1;
border-color: #F798F1;
box-shadow: 0 0 10px #F798F1;
border: 2px solid #F798F1;
Tailwind Usage
bg-[#F798F1]
text-[#F798F1]
border-[#F798F1]
shadow-[0_0_10px_F798F1]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #F798F1, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #F798F1; color: #000000; }

Badge

New Feature
.badge { background-color: #F798F1; color: #000000; }

Text Highlight

The quick brown fox jumps over the lazy dog. highlighted text example shows how the color looks as a text highlight.

Card

Card Title

This card uses your color as a border accent.

.card-accent { border: 2px solid #F798F1; background-color: #F798F115; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #F798F120; border-left: 4px solid #F798F1; }

Link / Accent

This is a paragraph with a link using your color. The color can be applied to interactive elements.

a { color: #F798F1; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #F798F1 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

247, 152, 241

Red: 247 / Green: 152 / Blue: 241

HSL

304°, 86%, 78%

Hue: 304° / Saturation: 86% / Lightness: 78%

CMYK

0%, 38%, 2%, 3%

Cyan: 0% / Magenta: 38% / Yellow: 2% / Key: 3%

What color is #F798F1?

#F798F1 is a highly saturated hue associated with energy and excitement.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #F798F1 to RGB:

rgb(247, 152, 241)HEX to RGB Converter →

HEX to HSL

Convert #F798F1 to HSL:

hsl(304, 86%, 78%)RGB to HSL Converter →

HEX to CMYK

Convert #F798F1 to CMYK:

cmyk(0%, 38%, 2%, 3%)Color Converter →

Color Meaning and Usage

A soft magenta tone, #F798F1 has RGB (247, 152, 241) and HSL (304°, 86%, 78%). Known for evoking energy and excitement, this highly saturated hue is often used for branding and logos. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #F798F1 is #97F79D, creating high-contrast pairings. For softer combinations, try analogous colors like #CD97F7.

Use #F798F1 in CSS: color: #F798F1 or background-color: #F798F1. Create palettes with Color Palette Generator or check contrast with Contrast Checker.

Contrast with #F798F1

Sample text on this color - The quick brown fox jumps over the lazy dog.

Contrast Ratio: 10.72:1
WCAG AA: Pass
WCAG AAA: Pass

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #F798F1?

#F798F1 is a soft magenta color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #F798F1?

#F798F1 in RGB is (247, 152, 241) - 247 red, 152 green, and 241 blue.

How to use #F798F1 in CSS?

Use #F798F1 directly in your CSS properties like color or background-color.

What colors go well with #F798F1?

#97F79D (complementary), #CD97F7 (analogous), and #F250E7 (lighter shade) work well with #F798F1.