What is hex #ECE2FF color?

 
The hex code #ECE2FF is closest to the named color Lavender (#E6E6FA).
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, 89% green and 100% blue, resulting in rgb(236, 226, 255) and hsl(261, 100%, 94%).
For print media and manufacturing layout, the CMYK equivalent is (7%, 11%, 0%, 0%).
In the HSV/HSB scale, #ECE2FF features a hue of 261°, 11% saturation, and 100% brightness.

Hex #ECE2FF Color Codes & Conversions

Closest Named Color
Lavender (#E6E6FA)
Hex Code #ECE2FF
Hex8 (RGBA Hex) #ECE2FFFF
RGB (CSS) rgb(236, 226, 255)
RGBA (CSS) rgba(236, 226, 255, 1)
HSL (CSS) hsl(261, 100%, 94%)
HSLA (CSS) hsla(261, 100%, 94%, 1)
HSV / HSB (261°, 11%, 100%)
CMYK Values (7%, 11%, 0%, 0%)
OKLCH (Modern CSS) oklch(92.9% 0.040 301.3)
CIE-LAB (D65) 91.44, 8.68, -12.81
CIE XYZ 79.84, 79.45, 105.72
Decimal / Binary 15524607
11101100 11100010 11111111

Closest Standards & Equivalents

Closest Web Safe
#FFCCFF
Inverse Color
#131D00
Complementary Color
#F5FFE2
Closest Pantone®
Pantone 7436 C
Closest RAL
RAL 9003 [Signal white]

#ECE2FF Grayscale Equivalents

Average
#EFEFEF
Lightness (Desaturation)
#F1F1F1
Weighted (BT601)
#E8E8E8
Luma (BT709)
#E6E6E6

WCAG 2.1 Color Contrast & Accessibility

Check how #ECE2FF 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 #ECE2FF

Sample preview of readable typography on top of #ECE2FF.

Contrast Ratio: 1.24:1
AA Fail AAA Fail

Black Text on #ECE2FF

Sample preview of readable typography on top of #ECE2FF.

Contrast Ratio: 16.89:1
AA Pass AAA Pass

HTML / CSS Live Previews & Snippets for #ECE2FF

Preview #ECE2FF in real UI elements and copy ready-to-use CSS rules.

Background Preview
background-color: #ECE2FF;
Typography Color Preview
color: #ECE2FF;
Border & Shadow Preview
border: 2px solid #ECE2FF;
CSS Custom Properties & Gradient
:root {
  --color-primary: #ECE2FF;
  --color-primary-rgb: 236, 226, 255;
  --color-complementary: #F5FFE2;
}
.btn-accent {
  background-color: #ECE2FF;
  color: #000000;
}

Hex #ECE2FF Color Palettes

Complementary Palette

The complementary color of #ECE2FF is #F5FFE2. 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 #ECE2FF pairs with #E2E6FF and #FAE2FF, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.

Split-Complementary Palette

The split-complementary scheme of #ECE2FF pairs with #E6FFE2 and #FFFAE2, delivering strong contrast while remaining easier to balance than a direct complement.

Triadic Palette

The triadic color scheme of #ECE2FF uses #E2FFEC and #FFECE2, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #ECE2FF combines #FFECE2, #F5FFE2 and #E2F5FF around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #ECE2FF pairs with #FFE2E6, #F5FFE2 and #E2FFFA spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #ECE2FF

Tints

Tints are created by mixing #ECE2FF with white, producing lighter variations.

Tones

Tones are created by mixing #ECE2FF with gray, softening saturation.

Shades

Shades result from mixing #ECE2FF with black, creating deeper variations.

Hex #ECE2FF in Programming & CSS Frameworks

Copy the exact syntax for #ECE2FF in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:

HTML / CSS #ECE2FF
Tailwind CSS bg-[#ECE2FF] text-[#ECE2FF]
Java (AWT) new Color(236,226,255);
Python Color("#ECE2FF")
.NET (C#) Color.FromArgb(255, 236,226,255);
Swift / iOS UIColor(red: 0.93, green: 0.89, blue: 1, alpha: 1)
Kotlin / Android Color.rgb(236, 226, 255)