What is hex #ECB7FF color?

 
The hex code #ECB7FF 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, 72% green and 100% blue, resulting in rgb(236, 183, 255) and hsl(284, 100%, 86%).
For print media and manufacturing layout, the CMYK equivalent is (7%, 28%, 0%, 0%).
In the HSV/HSB scale, #ECB7FF features a hue of 284°, 28% saturation, and 100% brightness.

Hex #ECB7FF Color Codes & Conversions

Closest Named Color
Electric Lavender (#F4BBFF)
Hex Code #ECB7FF
Hex8 (RGBA Hex) #ECB7FFFF
RGB (CSS) rgb(236, 183, 255)
RGBA (CSS) rgba(236, 183, 255, 1)
HSL (CSS) hsl(284, 100%, 86%)
HSLA (CSS) hsla(284, 100%, 86%, 1)
HSV / HSB (284°, 28%, 100%)
CMYK Values (7%, 28%, 0%, 0%)
OKLCH (Modern CSS) oklch(85.1% 0.113 317.0)
CIE-LAB (D65) 81.25, 31.44, -28.21
CIE XYZ 69.57, 58.92, 102.30
Decimal / Binary 15513599
11101100 10110111 11111111

Closest Standards & Equivalents

Closest Web Safe
#FFCCFF
Inverse Color
#134800
Complementary Color
#CAFFB7
Closest Pantone®
Pantone 243 C
Closest RAL
RAL 9003 [Signal white]

#ECB7FF Grayscale Equivalents

Average
#E1E1E1
Lightness (Desaturation)
#DBDBDB
Weighted (BT601)
#CFCFCF
Luma (BT709)
#C7C7C7

WCAG 2.1 Color Contrast & Accessibility

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

Sample preview of readable typography on top of #ECB7FF.

Contrast Ratio: 1.64:1
AA Fail AAA Fail

Black Text on #ECB7FF

Sample preview of readable typography on top of #ECB7FF.

Contrast Ratio: 12.78:1
AA Pass AAA Pass

HTML / CSS Live Previews & Snippets for #ECB7FF

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

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

Hex #ECB7FF Color Palettes

Complementary Palette

The complementary color of #ECB7FF is #CAFFB7. 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 #ECB7FF pairs with #C8B7FF and #FFB7EE, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.

Split-Complementary Palette

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

Triadic Palette

The triadic color scheme of #ECB7FF uses #B7FFEC and #FFECB7, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #ECB7FF combines #FFECB7, #CAFFB7 and #B7CAFF around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #ECB7FF pairs with #FFC8B7, #CAFFB7 and #B7EEFF spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #ECB7FF

Tints

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

Tones

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

Shades

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

Hex #ECB7FF in Programming & CSS Frameworks

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

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