#F8ECFE Color Information

Hex color code: #F8ECFE

#F8ECFE is a soft purple color. In RGB it is (248, 236, 254), and in HSL it is (280°, 90%, 96%). It is frequently seen in web interfaces.

Try:
Color NameGhost White
HEX
#F8ECFE
RGB
248, 236, 254
HSL
280°, 90%, 96%
CMYK
2%, 7%, 0%, 0%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #F8ECFE; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

248, 236, 254

Red: 248 / Green: 236 / Blue: 254

HSL

280°, 90%, 96%

Hue: 280° / Saturation: 90% / Lightness: 96%

CMYK

2%, 7%, 0%, 0%

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

What color is #F8ECFE?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #F8ECFE to RGB:

rgb(248, 236, 254)HEX to RGB Converter →

HEX to HSL

Convert #F8ECFE to HSL:

hsl(280, 90%, 96%)RGB to HSL Converter →

HEX to CMYK

Convert #F8ECFE to CMYK:

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

Color Meaning and Usage

A airy purple tone, #F8ECFE has RGB (248, 236, 254) and HSL (280°, 90%, 96%). Known for evoking purity and simplicity, this very light tint is often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #F8ECFE is #F2FEEC, creating high-contrast pairings. For softer combinations, try analogous colors like #EFECFE.

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

Contrast with #F8ECFE

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #F8ECFE?

#F8ECFE is a airy purple color - a very light tint that evokes purity and simplicity.

What is the RGB value of #F8ECFE?

#F8ECFE in RGB is (248, 236, 254) - 248 red, 236 green, and 254 blue.

How to use #F8ECFE in CSS?

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

What colors go well with #F8ECFE?

#F2FEEC (complementary), #EFECFE (analogous), and #DDA3FA (lighter shade) work well with #F8ECFE.