#F8ECFE color

#F8ECFE is rgb(248, 236, 254) in RGB and hsl(280, 90%, 96%) in HSL. The closest CSS named color is lavender (#e6e6fa, ΔE 5.2). Use black text on it (contrast 18.42:1).

#F8ECFEmagenta
HEX#F8ECFE
RGBrgb(248, 236, 254)
RGB percentrgb(97.3%, 92.5%, 99.6%)
HSLhsl(280, 90%, 96%)
HSV / HSBhsv(280, 7%, 100%)
CMYKcmyk(2%, 7%, 0%, 0%)
CIELAB (D65)lab(94.8 7.2 -7.2)

Edit in the color converter → · Check contrast → · Shades →

About #F8ECFE

#F8ECFE is a very pale, vivid magenta with a hue angle of 280°. It belongs to the purple family and reads as a balanced color. In the RGB model blue is the strongest channel at 254 (100%) and green the weakest at 236 (93%). Colors like this are typically used for page backgrounds, cards and subtle section fills.

Color conversions

HEX#F8ECFE
RGBrgb(248, 236, 254)
RGB percentrgb(97.3%, 92.5%, 99.6%)
HSLhsl(280, 90%, 96%)
HSV / HSBhsv(280, 7%, 100%)
CMYKcmyk(2%, 7%, 0%, 0%)
CIELAB (D65)lab(94.8 7.2 -7.2)
Decimal16313598
Binary11111000 11101100 11111110

HEX F8 EC FE → 248, 236, 254 (each pair is a base-16 number: F×16 + 8 = 248)

Color harmonies

Harmonies rotate the HSL hue (complementary +180°, triadic ±120°, split-complementary ±150°, analogous ±30°, tetradic 90° steps) and keep saturation and lightness. Swatches link to the nearest color page.

Tints and shades of #F8ECFE

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #F8ECFERatioAA normalAA largeAAA normalAAA large
White text1.14:1FailFailFailFail
Black text18.42:1PassPassPassPass
White text on #F8ECFE
Black text on #F8ECFE
#F8ECFE text on white
#F8ECFE text on black

Relative luminance is 0.8710 (0 = black, 1 = white). WCAG 2 requires 4.5:1 for body text and 3:1 for large text and UI components.

Color blindness simulation

Protanopia
#eaefff

Deuteranopia
#ecf0fd

Tritanopia
#f8eef2

Achromatopsia
#f0f0f0

With deuteranopia, the most common form of color blindness, this color shifts noticeably (ΔE 7.6). Do not rely on it alone to signal status; add an icon or text label. Simulation uses the Machado (2009) matrices for full dichromacy; achromatopsia shows luminance only.

Similar named colors

NameHEXΔE 2000
lavender#e6e6fa5.2
lavenderblush#fff0f55.3
ghostwhite#f8f8ff7.5
snow#fffafa9

CSS

.element {
  color: #f8ecfe;
  background-color: rgb(248, 236, 254);
  border: 1px solid hsl(280, 90%, 96%);
  box-shadow: 0 2px 8px rgb(248 236 254 / 50%);
}
:root { --brand: #f8ecfe; }

Frequently asked questions

What color is #F8ECFE?
A very pale vivid magenta in the purple family. Closest CSS name: lavender.
What is #F8ECFE in RGB?
rgb(248, 236, 254): red 248, green 236, blue 254.
What is the complementary color of #F8ECFE?
#F2FEEC, found by rotating the hue 180°.