What is hex #EA40EA color?
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 92% red, 25% green and 92% blue, resulting in rgb(234, 64, 234) and hsl(300, 80%, 58%).
For print media and manufacturing layout, the CMYK equivalent is (0%, 73%, 0%, 8%).
In the HSV/HSB scale, #EA40EA features a hue of 300°, 73% saturation, and 92% brightness.
Hex #EA40EA Color Codes & Conversions
| Closest Named Color | Medium Orchid (#BA55D3) |
| Hex Code | #EA40EA |
| Hex8 (RGBA Hex) | #EA40EAFF |
| RGB (CSS) | rgb(234, 64, 234) |
| RGBA (CSS) | rgba(234, 64, 234, 1) |
| HSL (CSS) | hsl(300, 80%, 58%) |
| HSLA (CSS) | hsla(300, 80%, 58%, 1) |
| HSV / HSB | (300°, 73%, 92%) |
| CMYK Values | (0%, 73%, 0%, 8%) |
| OKLCH (Modern CSS) | oklch(68.3% 0.269 328.0) |
| CIE-LAB (D65) | 59.07, 81.70, -51.33 |
| CIE XYZ | 50.62, 27.10, 80.39 |
| Decimal / Binary |
15352042
11101010 01000000 11101010 |
Closest Standards & Equivalents
| Closest Web Safe | #FF33FF |
| Inverse Color | #15BF15 |
| Complementary Color | #40EA40 |
| Closest Pantone® | Pantone 807 C |
| Closest RAL | RAL 4003 [Heather violet] |
#EA40EA Grayscale Equivalents
| Average | #B1B1B1 |
| Lightness (Desaturation) | #959595 |
| Weighted (BT601) | #868686 |
| Luma (BT709) | #707070 |
WCAG 2.1 Color Contrast & Accessibility
Check how #EA40EA 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 #EA40EA
Sample preview of readable typography on top of #EA40EA.
Black Text on #EA40EA
Sample preview of readable typography on top of #EA40EA.
HTML / CSS Live Previews & Snippets for #EA40EA
Preview #EA40EA in real UI elements and copy ready-to-use CSS rules.
background-color: #EA40EA;
color: #EA40EA;
border: 2px solid #EA40EA;
:root {
--color-primary: #EA40EA;
--color-primary-rgb: 234, 64, 234;
--color-complementary: #40EA40;
}
.btn-accent {
background-color: #EA40EA;
color: #000000;
}
Hex #EA40EA Color Palettes
Complementary Palette
The complementary color of #EA40EA is #40EA40. 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 #EA40EA pairs with #9540EA and #EA4095, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.
Split-Complementary Palette
The split-complementary scheme of #EA40EA pairs with #40EA95 and #95EA40, delivering strong contrast while remaining easier to balance than a direct complement.
Triadic Palette
The triadic color scheme of #EA40EA uses #40EAEA and #EAEA40, spaced 120° apart for balanced, high-energy contrast.
Tetradic Palette
The tetradic color scheme of #EA40EA combines #EAEA40, #40EA40 and #4040EA around the color wheel for rich multi-accent UI systems.
Square Palette
The square color scheme of #EA40EA pairs with #EA9540, #40EA40 and #4095EA spaced evenly at 90° intervals.
Tints, Tones & Shades of Hex #EA40EA
Tints
Tints are created by mixing #EA40EA with white, producing lighter variations.
Tones
Tones are created by mixing #EA40EA with gray, softening saturation.
Shades
Shades result from mixing #EA40EA with black, creating deeper variations.
Hex #EA40EA in Programming & CSS Frameworks
Copy the exact syntax for #EA40EA in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:
| HTML / CSS | #EA40EA |
| Tailwind CSS | bg-[#EA40EA] text-[#EA40EA] |
| Java (AWT) | new Color(234,64,234); |
| Python | Color("#EA40EA") |
| .NET (C#) | Color.FromArgb(255, 234,64,234); |
| Swift / iOS | UIColor(red: 0.92, green: 0.25, blue: 0.92, alpha: 1) |
| Kotlin / Android | Color.rgb(234, 64, 234) |