#F8EAFC Color Information

Hex color code: #F8EAFC

#F8EAFC is a soft magenta color. In RGB it is (248, 234, 252), and in HSL it is (287°, 75%, 95%). It is frequently seen in web interfaces.

Try:
Color NameGhost White
HEX
#F8EAFC
RGB
248, 234, 252
HSL
287°, 75%, 95%
CMYK
2%, 7%, 0%, 1%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #F8EAFC; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

248, 234, 252

Red: 248 / Green: 234 / Blue: 252

HSL

287°, 75%, 95%

Hue: 287° / Saturation: 75% / Lightness: 95%

CMYK

2%, 7%, 0%, 1%

Cyan: 2% / Magenta: 7% / Yellow: 0% / Key: 1%

What color is #F8EAFC?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #F8EAFC to RGB:

rgb(248, 234, 252)HEX to RGB Converter →

HEX to HSL

Convert #F8EAFC to HSL:

hsl(287, 75%, 95%)RGB to HSL Converter →

HEX to CMYK

Convert #F8EAFC to CMYK:

cmyk(2%, 7%, 0%, 1%)Color Converter →

Color Meaning and Usage

A airy magenta tone, #F8EAFC has RGB (248, 234, 252) and HSL (287°, 75%, 95%). Known for evoking purity and simplicity, this very light tint is typically applied in digital products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #F8EAFC is #EDFCE9, creating high-contrast pairings. For softer combinations, try analogous colors like #EEE9FC.

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

Contrast with #F8EAFC

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #F8EAFC?

#F8EAFC is a airy magenta color - a very light tint that evokes purity and simplicity.

What is the RGB value of #F8EAFC?

#F8EAFC in RGB is (248, 234, 252) - 248 red, 234 green, and 252 blue.

How to use #F8EAFC in CSS?

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

What colors go well with #F8EAFC?

#EDFCE9 (complementary), #EEE9FC (analogous), and #E2A6F2 (lighter shade) work well with #F8EAFC.