What is hex #E240FF color?

 
The hex code #E240FF is closest to the named color Medium Orchid (#BA55D3).
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 89% red, 25% green and 100% blue, resulting in rgb(226, 64, 255) and hsl(291, 100%, 63%).
For print media and manufacturing layout, the CMYK equivalent is (11%, 75%, 0%, 0%).
In the HSV/HSB scale, #E240FF features a hue of 291°, 75% saturation, and 100% brightness.

Hex #E240FF Color Codes & Conversions

Closest Named Color
Medium Orchid (#BA55D3)
Hex Code #E240FF
Hex8 (RGBA Hex) #E240FFFF
RGB (CSS) rgb(226, 64, 255)
RGBA (CSS) rgba(226, 64, 255, 1)
HSL (CSS) hsl(291, 100%, 63%)
HSLA (CSS) hsla(291, 100%, 63%, 1)
HSV / HSB (291°, 75%, 100%)
CMYK Values (11%, 75%, 0%, 0%)
OKLCH (Modern CSS) oklch(68.4% 0.281 321.0)
CIE-LAB (D65) 59.03, 83.55, -63.16
CIE XYZ 51.25, 27.06, 97.11
Decimal / Binary 14827775
11100010 01000000 11111111

Closest Standards & Equivalents

Closest Web Safe
#CC33FF
Inverse Color
#1DBF00
Complementary Color
#5DFF40
Closest Pantone®
Pantone 239 C
Closest RAL
RAL 4003 [Heather violet]

#E240FF Grayscale Equivalents

Average
#B6B6B6
Lightness (Desaturation)
#A0A0A0
Weighted (BT601)
#868686
Luma (BT709)
#707070

WCAG 2.1 Color Contrast & Accessibility

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

Sample preview of readable typography on top of #E240FF.

Contrast Ratio: 3.28:1
AA Fail AAA Fail

Black Text on #E240FF

Sample preview of readable typography on top of #E240FF.

Contrast Ratio: 6.41:1
AA Pass AAA Fail

HTML / CSS Live Previews & Snippets for #E240FF

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

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

Hex #E240FF Color Palettes

Complementary Palette

The complementary color of #E240FF is #5DFF40. 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 #E240FF pairs with #8240FF and #FF40BC, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.

Split-Complementary Palette

The split-complementary scheme of #E240FF pairs with #40FF82 and #BCFF40, delivering strong contrast while remaining easier to balance than a direct complement.

Triadic Palette

The triadic color scheme of #E240FF uses #40FFE2 and #FFE240, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #E240FF combines #FFE240, #5DFF40 and #405DFF around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #E240FF pairs with #FF8240, #5DFF40 and #40BCFF spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #E240FF

Tints

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

Tones

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

Shades

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

Hex #E240FF in Programming & CSS Frameworks

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

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