#F2A7F6 Color Information

Hex color code: #F2A7F6

A delicate magenta shade, #F2A7F6 appears as (242, 167, 246) in RGB and (297°, 81%, 81%) in HSL. It is popular in mobile app design.

Try:
Color NamePlum
HEX
#F2A7F6
RGB
242, 167, 246
HSL
297°, 81%, 81%
CMYK
2%, 32%, 0%, 4%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #F2A7F6; 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 #F2A7F6; background-color: #F2A7F615; }

Alert / Toast

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

Link / Accent

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

a { color: #F2A7F6; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

242, 167, 246

Red: 242 / Green: 167 / Blue: 246

HSL

297°, 81%, 81%

Hue: 297° / Saturation: 81% / Lightness: 81%

CMYK

2%, 32%, 0%, 4%

Cyan: 2% / Magenta: 32% / Yellow: 0% / Key: 4%

What color is #F2A7F6?

#F2A7F6 is a very light tint associated with purity and simplicity.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #F2A7F6 to RGB:

rgb(242, 167, 246)HEX to RGB Converter →

HEX to HSL

Convert #F2A7F6 to HSL:

hsl(297, 81%, 81%)RGB to HSL Converter →

HEX to CMYK

Convert #F2A7F6 to CMYK:

cmyk(2%, 32%, 0%, 4%)Color Converter →

Color Meaning and Usage

#F2A7F6 is a soft magenta color with RGB values of 242, 167, 246 and HSL of 297°, 81%, 81%. This very light tint evokes purity and simplicity, making it suitable for a common choice for dashboards and SaaS products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #F2A7F6 is #ABF6A7, creating high-contrast pairings. For softer combinations, try analogous colors like #CBA7F6.

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

Contrast with #F2A7F6

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #F2A7F6?

#F2A7F6 is a soft magenta color - a very light tint that evokes purity and simplicity.

What is the RGB value of #F2A7F6?

#F2A7F6 in RGB is (242, 167, 246) - 242 red, 167 green, and 246 blue.

How to use #F2A7F6 in CSS?

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

What colors go well with #F2A7F6?

#ABF6A7 (complementary), #CBA7F6 (analogous), and #E862EF (lighter shade) work well with #F2A7F6.