#F2ECFE color

#F2ECFE is rgb(242, 236, 254) in RGB and hsl(260, 90%, 96%) in HSL. The closest CSS named color is lavender (#e6e6fa, ΔE 3). Use black text on it (contrast 18.20:1).

#F2ECFEviolet
HEX#F2ECFE
RGBrgb(242, 236, 254)
RGB percentrgb(94.9%, 92.5%, 99.6%)
HSLhsl(260, 90%, 96%)
HSV / HSBhsv(260, 7%, 100%)
CMYKcmyk(5%, 7%, 0%, 0%)
CIELAB (D65)lab(94.3 5.2 -7.9)

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

About #F2ECFE

#F2ECFE is a very pale, vivid violet with a hue angle of 260°. It belongs to the purple family and reads as a cool 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#F2ECFE
RGBrgb(242, 236, 254)
RGB percentrgb(94.9%, 92.5%, 99.6%)
HSLhsl(260, 90%, 96%)
HSV / HSBhsv(260, 7%, 100%)
CMYKcmyk(5%, 7%, 0%, 0%)
CIELAB (D65)lab(94.3 5.2 -7.9)
Decimal15920382
Binary11110010 11101100 11111110

HEX F2 EC FE → 242, 236, 254 (each pair is a base-16 number: F×16 + 2 = 242)

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 #F2ECFE

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #F2ECFERatioAA normalAA largeAAA normalAAA large
White text1.15:1FailFailFailFail
Black text18.20:1PassPassPassPass
White text on #F2ECFE
Black text on #F2ECFE
#F2ECFE text on white
#F2ECFE text on black

Relative luminance is 0.8602 (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
#e9efff

Deuteranopia
#eaeffd

Tritanopia
#f0eef2

Achromatopsia
#efefef

With deuteranopia, the most common form of color blindness, this color shifts noticeably (ΔE 5.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#e6e6fa3
ghostwhite#f8f8ff6.1
lavenderblush#fff0f56.1
snow#fffafa8.4

CSS

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

Frequently asked questions

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