What is hex #EB40FF color?

 
The hex code #EB40FF 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 92% red, 25% green and 100% blue, resulting in rgb(235, 64, 255) and hsl(294, 100%, 63%).
For print media and manufacturing layout, the CMYK equivalent is (8%, 75%, 0%, 0%).
In the HSV/HSB scale, #EB40FF features a hue of 294°, 75% saturation, and 100% brightness.

Hex #EB40FF Color Codes & Conversions

Closest Named Color
Medium Orchid (#BA55D3)
Hex Code #EB40FF
Hex8 (RGBA Hex) #EB40FFFF
RGB (CSS) rgb(235, 64, 255)
RGBA (CSS) rgba(235, 64, 255, 1)
HSL (CSS) hsl(294, 100%, 63%)
HSLA (CSS) hsla(294, 100%, 63%, 1)
HSV / HSB (294°, 75%, 100%)
CMYK Values (8%, 75%, 0%, 0%)
OKLCH (Modern CSS) oklch(69.6% 0.285 323.3)
CIE-LAB (D65) 60.38, 85.24, -60.91
CIE XYZ 54.14, 28.55, 97.25
Decimal / Binary 15417599
11101011 01000000 11111111

Closest Standards & Equivalents

Closest Web Safe
#FF33FF
Inverse Color
#14BF00
Complementary Color
#54FF40
Closest Pantone®
Pantone 807 C
Closest RAL
RAL 4003 [Heather violet]

#EB40FF Grayscale Equivalents

Average
#B9B9B9
Lightness (Desaturation)
#A0A0A0
Weighted (BT601)
#898989
Luma (BT709)
#727272

WCAG 2.1 Color Contrast & Accessibility

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

Sample preview of readable typography on top of #EB40FF.

Contrast Ratio: 3.13:1
AA Fail AAA Fail

Black Text on #EB40FF

Sample preview of readable typography on top of #EB40FF.

Contrast Ratio: 6.71:1
AA Pass AAA Fail

HTML / CSS Live Previews & Snippets for #EB40FF

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

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

Hex #EB40FF Color Palettes

Complementary Palette

The complementary color of #EB40FF is #54FF40. 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 #EB40FF pairs with #8B40FF and #FF40B3, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.

Split-Complementary Palette

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

Triadic Palette

The triadic color scheme of #EB40FF uses #40FFEB and #FFEB40, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #EB40FF combines #FFEB40, #54FF40 and #4054FF around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #EB40FF pairs with #FF8B40, #54FF40 and #40B3FF spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #EB40FF

Tints

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

Tones

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

Shades

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

Hex #EB40FF in Programming & CSS Frameworks

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

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