What is hex #F2ECFA color?
In professional design frameworks, this hue is considered a balanced and versatile hue. It is ideal for creating smooth color harmony, digital artwork, or minimalist web components.
From a technical standpoint, this color is composed of 95% red, 93% green and 98% blue, resulting in rgb(242, 236, 250) and hsl(266, 58%, 95%).
For print media and manufacturing layout, the CMYK equivalent is (3%, 6%, 0%, 2%).
In the HSV/HSB scale, #F2ECFA features a hue of 266°, 6% saturation, and 98% brightness.
Hex #F2ECFA Color Codes & Conversions
| Closest Named Color | Antiflash White (#F2F3F4) |
| Hex Code | #F2ECFA |
| Hex8 (RGBA Hex) | #F2ECFAFF |
| RGB (CSS) | rgb(242, 236, 250) |
| RGBA (CSS) | rgba(242, 236, 250, 1) |
| HSL (CSS) | hsl(266, 58%, 95%) |
| HSLA (CSS) | hsla(266, 58%, 95%, 1) |
| HSV / HSB | (266°, 6%, 98%) |
| CMYK Values | (3%, 6%, 0%, 2%) |
| OKLCH (Modern CSS) | oklch(95.2% 0.020 305.3) |
| CIE-LAB (D65) | 94.21, 4.51, -6.03 |
| CIE XYZ | 83.87, 85.77, 102.56 |
| Decimal / Binary |
15920378
11110010 11101100 11111010 |
Closest Standards & Equivalents
| Closest Web Safe | #FFFFFF [White] |
| Inverse Color | #0D1305 |
| Complementary Color | #F4FAEC |
| Closest Pantone® | Pantone 7436 C |
| Closest RAL | RAL 9016 [Traffic white] |
#F2ECFA Grayscale Equivalents
| Average | #F3F3F3 |
| Lightness (Desaturation) | #F3F3F3 |
| Weighted (BT601) | #EFEFEF |
| Luma (BT709) | #EEEEEE |
WCAG 2.1 Color Contrast & Accessibility
Check how #F2ECFA complies with web accessibility standards (WCAG AA & AAA) for typography. Need to test against another custom color? Use our interactive contrast checker.
White Text on #F2ECFA
Sample preview of readable typography on top of #F2ECFA.
Black Text on #F2ECFA
Sample preview of readable typography on top of #F2ECFA.
HTML / CSS Live Previews & Snippets for #F2ECFA
Preview #F2ECFA in real UI elements and copy ready-to-use CSS rules.
background-color: #F2ECFA;
color: #F2ECFA;
border: 2px solid #F2ECFA;
:root {
--color-primary: #F2ECFA;
--color-primary-rgb: 242, 236, 250;
--color-complementary: #F4FAEC;
}
.btn-accent {
background-color: #F2ECFA;
color: #000000;
}
Hex #F2ECFA Color Palettes
Complementary Palette
The complementary color of #F2ECFA is #F4FAEC. Opposite on the color wheel, placing these two colors next to each other creates the strongest visual contrast.
Analogous Palette
The analogous color scheme of #F2ECFA pairs with #ECEDFA and #F9ECFA, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.
Split-Complementary Palette
The split-complementary scheme of #F2ECFA pairs with #EDFAEC and #FAF9EC, delivering strong contrast while remaining easier to balance than a direct complement.
Triadic Palette
The triadic color scheme of #F2ECFA uses #ECFAF2 and #FAF2EC, spaced 120° apart for balanced, high-energy contrast.
Tetradic Palette
The tetradic color scheme of #F2ECFA combines #FAF2EC, #F4FAEC and #ECF4FA around the color wheel for rich multi-accent UI systems.
Square Palette
The square color scheme of #F2ECFA pairs with #FAECED, #F4FAEC and #ECFAF9 spaced evenly at 90° intervals.
Tints, Tones & Shades of Hex #F2ECFA
Tints
Tints are created by mixing #F2ECFA with white, producing lighter variations.
Tones
Tones are created by mixing #F2ECFA with gray, softening saturation.
Shades
Shades result from mixing #F2ECFA with black, creating deeper variations.
Hex #F2ECFA in Programming & CSS Frameworks
Copy the exact syntax for #F2ECFA in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:
| HTML / CSS | #F2ECFA |
| Tailwind CSS | bg-[#F2ECFA] text-[#F2ECFA] |
| Java (AWT) | new Color(242,236,250); |
| Python | Color("#F2ECFA") |
| .NET (C#) | Color.FromArgb(255, 242,236,250); |
| Swift / iOS | UIColor(red: 0.95, green: 0.93, blue: 0.98, alpha: 1) |
| Kotlin / Android | Color.rgb(242, 236, 250) |