What is hex #ECC2FF color?

 
The hex code #ECC2FF is closest to the named color Electric Lavender (#F4BBFF).
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, 76% green and 100% blue, resulting in rgb(236, 194, 255) and hsl(281, 100%, 88%).
For print media and manufacturing layout, the CMYK equivalent is (7%, 24%, 0%, 0%).
In the HSV/HSB scale, #ECC2FF features a hue of 281°, 24% saturation, and 100% brightness.

Hex #ECC2FF Color Codes & Conversions

Closest Named Color
Electric Lavender (#F4BBFF)
Hex Code #ECC2FF
Hex8 (RGBA Hex) #ECC2FFFF
RGB (CSS) rgb(236, 194, 255)
RGBA (CSS) rgba(236, 194, 255, 1)
HSL (CSS) hsl(281, 100%, 88%)
HSLA (CSS) hsla(281, 100%, 88%, 1)
HSV / HSB (281°, 24%, 100%)
CMYK Values (7%, 24%, 0%, 0%)
OKLCH (Modern CSS) oklch(87.0% 0.094 315.2)
CIE-LAB (D65) 83.78, 25.58, -24.35
CIE XYZ 71.93, 63.64, 103.08
Decimal / Binary 15516415
11101100 11000010 11111111

Closest Standards & Equivalents

Closest Web Safe
#FFCCFF
Inverse Color
#133D00
Complementary Color
#D5FFC2
Closest Pantone®
Pantone 517 C
Closest RAL
RAL 9003 [Signal white]

#ECC2FF Grayscale Equivalents

Average
#E4E4E4
Lightness (Desaturation)
#E1E1E1
Weighted (BT601)
#D6D6D6
Luma (BT709)
#CFCFCF

WCAG 2.1 Color Contrast & Accessibility

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

Sample preview of readable typography on top of #ECC2FF.

Contrast Ratio: 1.53:1
AA Fail AAA Fail

Black Text on #ECC2FF

Sample preview of readable typography on top of #ECC2FF.

Contrast Ratio: 13.73:1
AA Pass AAA Pass

HTML / CSS Live Previews & Snippets for #ECC2FF

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

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

Hex #ECC2FF Color Palettes

Complementary Palette

The complementary color of #ECC2FF is #D5FFC2. 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 #ECC2FF pairs with #CDC2FF and #FFC2F3, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.

Split-Complementary Palette

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

Triadic Palette

The triadic color scheme of #ECC2FF uses #C2FFEC and #FFECC2, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #ECC2FF combines #FFECC2, #D5FFC2 and #C2D5FF around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #ECC2FF pairs with #FFCDC2, #D5FFC2 and #C2F3FF spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #ECC2FF

Tints

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

Tones

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

Shades

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

Hex #ECC2FF in Programming & CSS Frameworks

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

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