What is hex #EC2DFF color?

 
The hex code #EC2DFF is closest to the named color Magenta (#FF00FF).
In professional design frameworks, this hue is considered a highly vibrant and energetic tone. It is perfect for drawing attention to critical elements like call-to-action buttons, highlights, or modern branding.

From a technical standpoint, this color is composed of 93% red, 18% green and 100% blue, resulting in rgb(236, 45, 255) and hsl(295, 100%, 59%).
For print media and manufacturing layout, the CMYK equivalent is (7%, 82%, 0%, 0%).
In the HSV/HSB scale, #EC2DFF features a hue of 295°, 82% saturation, and 100% brightness.

Hex #EC2DFF Color Codes & Conversions

Closest Named Color
Magenta (#FF00FF)
Hex Code #EC2DFF
Hex8 (RGBA Hex) #EC2DFFFF
RGB (CSS) rgb(236, 45, 255)
RGBA (CSS) rgba(236, 45, 255, 1)
HSL (CSS) hsl(295, 100%, 59%)
HSLA (CSS) hsla(295, 100%, 59%, 1)
HSV / HSB (295°, 82%, 100%)
CMYK Values (7%, 82%, 0%, 0%)
OKLCH (Modern CSS) oklch(68.6% 0.300 323.8)
CIE-LAB (D65) 58.91, 90.14, -63.26
CIE XYZ 53.58, 26.93, 96.96
Decimal / Binary 15478271
11101100 00101101 11111111

Closest Standards & Equivalents

Closest Web Safe
#FF33FF
Inverse Color
#13D200
Complementary Color
#40FF2D
Closest Pantone®
Pantone 807 C
Closest RAL
RAL 4010 [Telemagenta]

#EC2DFF Grayscale Equivalents

Average
#B3B3B3
Lightness (Desaturation)
#969696
Weighted (BT601)
#7E7E7E
Luma (BT709)
#656565

WCAG 2.1 Color Contrast & Accessibility

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

Sample preview of readable typography on top of #EC2DFF.

Contrast Ratio: 3.29:1
AA Fail AAA Fail

Black Text on #EC2DFF

Sample preview of readable typography on top of #EC2DFF.

Contrast Ratio: 6.39:1
AA Pass AAA Fail

HTML / CSS Live Previews & Snippets for #EC2DFF

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

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

Hex #EC2DFF Color Palettes

Complementary Palette

The complementary color of #EC2DFF is #40FF2D. 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 #EC2DFF pairs with #832DFF and #FF2DA9, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.

Split-Complementary Palette

The split-complementary scheme of #EC2DFF pairs with #2DFF83 and #A9FF2D, delivering strong contrast while remaining easier to balance than a direct complement.

Triadic Palette

The triadic color scheme of #EC2DFF uses #2DFFEC and #FFEC2D, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #EC2DFF combines #FFEC2D, #40FF2D and #2D40FF around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #EC2DFF pairs with #FF832D, #40FF2D and #2DA9FF spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #EC2DFF

Tints

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

Tones

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

Shades

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

Hex #EC2DFF in Programming & CSS Frameworks

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

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