What is hex #ECBAFA 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 93% red, 73% green and 98% blue, resulting in rgb(236, 186, 250) and hsl(287, 86%, 85%).
For print media and manufacturing layout, the CMYK equivalent is (6%, 26%, 0%, 2%).
In the HSV/HSB scale, #ECBAFA features a hue of 287°, 26% saturation, and 98% brightness.
Hex #ECBAFA Color Codes & Conversions
| Closest Named Color | Electric Lavender (#F4BBFF) |
| Hex Code | #ECBAFA |
| Hex8 (RGBA Hex) | #ECBAFAFF |
| RGB (CSS) | rgb(236, 186, 250) |
| RGBA (CSS) | rgba(236, 186, 250, 1) |
| HSL (CSS) | hsl(287, 86%, 85%) |
| HSLA (CSS) | hsla(287, 86%, 85%, 1) |
| HSV / HSB | (287°, 26%, 98%) |
| CMYK Values | (6%, 26%, 0%, 2%) |
| OKLCH (Modern CSS) | oklch(85.4% 0.102 318.8) |
| CIE-LAB (D65) | 81.76, 28.87, -24.76 |
| CIE XYZ | 69.40, 59.85, 98.32 |
| Decimal / Binary |
15514362
11101100 10111010 11111010 |
WCAG 2.1 Color Contrast & Accessibility
Check how #ECBAFA 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 #ECBAFA
Sample preview of readable typography on top of #ECBAFA.
Black Text on #ECBAFA
Sample preview of readable typography on top of #ECBAFA.
HTML / CSS Live Previews & Snippets for #ECBAFA
Preview #ECBAFA in real UI elements and copy ready-to-use CSS rules.
background-color: #ECBAFA;
color: #ECBAFA;
border: 2px solid #ECBAFA;
:root {
--color-primary: #ECBAFA;
--color-primary-rgb: 236, 186, 250;
--color-complementary: #C8FABA;
}
.btn-accent {
background-color: #ECBAFA;
color: #000000;
}
Hex #ECBAFA Color Palettes
Complementary Palette
The complementary color of #ECBAFA is #C8FABA. 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 #ECBAFA pairs with #CCBAFA and #FABAE8, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.
Split-Complementary Palette
The split-complementary scheme of #ECBAFA pairs with #BAFACC and #E8FABA, delivering strong contrast while remaining easier to balance than a direct complement.
Triadic Palette
The triadic color scheme of #ECBAFA uses #BAFAEC and #FAECBA, spaced 120° apart for balanced, high-energy contrast.
Tetradic Palette
The tetradic color scheme of #ECBAFA combines #FAECBA, #C8FABA and #BAC8FA around the color wheel for rich multi-accent UI systems.
Square Palette
The square color scheme of #ECBAFA pairs with #FACCBA, #C8FABA and #BAE8FA spaced evenly at 90° intervals.
Tints, Tones & Shades of Hex #ECBAFA
Tints
Tints are created by mixing #ECBAFA with white, producing lighter variations.
Tones
Tones are created by mixing #ECBAFA with gray, softening saturation.
Shades
Shades result from mixing #ECBAFA with black, creating deeper variations.
Hex #ECBAFA in Programming & CSS Frameworks
Copy the exact syntax for #ECBAFA in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:
| HTML / CSS | #ECBAFA |
| Tailwind CSS | bg-[#ECBAFA] text-[#ECBAFA] |
| Java (AWT) | new Color(236,186,250); |
| Python | Color("#ECBAFA") |
| .NET (C#) | Color.FromArgb(255, 236,186,250); |
| Swift / iOS | UIColor(red: 0.93, green: 0.73, blue: 0.98, alpha: 1) |
| Kotlin / Android | Color.rgb(236, 186, 250) |