What is hex #ECB5FF 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, 71% green and 100% blue, resulting in rgb(236, 181, 255) and hsl(285, 100%, 85%).
For print media and manufacturing layout, the CMYK equivalent is (7%, 29%, 0%, 0%).
In the HSV/HSB scale, #ECB5FF features a hue of 285°, 29% saturation, and 100% brightness.
Hex #ECB5FF Color Codes & Conversions
| Closest Named Color | Electric Lavender (#F4BBFF) |
| Hex Code | #ECB5FF |
| Hex8 (RGBA Hex) | #ECB5FFFF |
| RGB (CSS) | rgb(236, 181, 255) |
| RGBA (CSS) | rgba(236, 181, 255, 1) |
| HSL (CSS) | hsl(285, 100%, 85%) |
| HSLA (CSS) | hsla(285, 100%, 85%, 1) |
| HSV / HSB | (285°, 29%, 100%) |
| CMYK Values | (7%, 29%, 0%, 0%) |
| OKLCH (Modern CSS) | oklch(84.7% 0.116 317.3) |
| CIE-LAB (D65) | 80.80, 32.51, -28.91 |
| CIE XYZ | 69.16, 58.10, 102.16 |
| Decimal / Binary |
15513087
11101100 10110101 11111111 |
WCAG 2.1 Color Contrast & Accessibility
Check how #ECB5FF 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 #ECB5FF
Sample preview of readable typography on top of #ECB5FF.
Black Text on #ECB5FF
Sample preview of readable typography on top of #ECB5FF.
HTML / CSS Live Previews & Snippets for #ECB5FF
Preview #ECB5FF in real UI elements and copy ready-to-use CSS rules.
background-color: #ECB5FF;
color: #ECB5FF;
border: 2px solid #ECB5FF;
:root {
--color-primary: #ECB5FF;
--color-primary-rgb: 236, 181, 255;
--color-complementary: #C8FFB5;
}
.btn-accent {
background-color: #ECB5FF;
color: #000000;
}
Hex #ECB5FF Color Palettes
Complementary Palette
The complementary color of #ECB5FF is #C8FFB5. 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 #ECB5FF pairs with #C7B5FF and #FFB5ED, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.
Split-Complementary Palette
The split-complementary scheme of #ECB5FF pairs with #B5FFC7 and #EDFFB5, delivering strong contrast while remaining easier to balance than a direct complement.
Triadic Palette
The triadic color scheme of #ECB5FF uses #B5FFEC and #FFECB5, spaced 120° apart for balanced, high-energy contrast.
Tetradic Palette
The tetradic color scheme of #ECB5FF combines #FFECB5, #C8FFB5 and #B5C8FF around the color wheel for rich multi-accent UI systems.
Square Palette
The square color scheme of #ECB5FF pairs with #FFC7B5, #C8FFB5 and #B5EDFF spaced evenly at 90° intervals.
Tints, Tones & Shades of Hex #ECB5FF
Tints
Tints are created by mixing #ECB5FF with white, producing lighter variations.
Tones
Tones are created by mixing #ECB5FF with gray, softening saturation.
Shades
Shades result from mixing #ECB5FF with black, creating deeper variations.
Hex #ECB5FF in Programming & CSS Frameworks
Copy the exact syntax for #ECB5FF in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:
| HTML / CSS | #ECB5FF |
| Tailwind CSS | bg-[#ECB5FF] text-[#ECB5FF] |
| Java (AWT) | new Color(236,181,255); |
| Python | Color("#ECB5FF") |
| .NET (C#) | Color.FromArgb(255, 236,181,255); |
| Swift / iOS | UIColor(red: 0.93, green: 0.71, blue: 1, alpha: 1) |
| Kotlin / Android | Color.rgb(236, 181, 255) |