#F2C7FA Color Information

Hex color code: #F2C7FA

#F2C7FA is a light magenta color. In RGB it is (242, 199, 250), and in HSL it is (291°, 84%, 88%). It is commonly used in modern UI design.

Try:
Color NameLavender
HEX
#F2C7FA
RGB
242, 199, 250
HSL
291°, 84%, 88%
CMYK
3%, 20%, 0%, 2%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #F2C7FA; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

242, 199, 250

Red: 242 / Green: 199 / Blue: 250

HSL

291°, 84%, 88%

Hue: 291° / Saturation: 84% / Lightness: 88%

CMYK

3%, 20%, 0%, 2%

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

What color is #F2C7FA?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #F2C7FA to RGB:

rgb(242, 199, 250)HEX to RGB Converter →

HEX to HSL

Convert #F2C7FA to HSL:

hsl(291, 84%, 88%)RGB to HSL Converter →

HEX to CMYK

Convert #F2C7FA to CMYK:

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

Color Meaning and Usage

#F2C7FA is a soft magenta color with RGB values of 242, 199, 250 and HSL of 291°, 84%, 88%. This very light tint evokes purity and simplicity, making it suitable for commonly used in modern UI design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #F2C7FA is #CEFAC7, creating high-contrast pairings. For softer combinations, try analogous colors like #D9C7FA.

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

Contrast with #F2C7FA

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #F2C7FA?

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

What is the RGB value of #F2C7FA?

#F2C7FA in RGB is (242, 199, 250) - 242 red, 199 green, and 250 blue.

How to use #F2C7FA in CSS?

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

What colors go well with #F2C7FA?

#CEFAC7 (complementary), #D9C7FA (analogous), and #E380F4 (lighter shade) work well with #F2C7FA.