What is hex #FF42E4 color?

 
The hex code #FF42E4 is closest to the named color Orchid (#DA70D6).
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 100% red, 26% green and 89% blue, resulting in rgb(255, 66, 228) and hsl(309, 100%, 63%).
For print media and manufacturing layout, the CMYK equivalent is (0%, 74%, 11%, 0%).
In the HSV/HSB scale, #FF42E4 features a hue of 309°, 74% saturation, and 100% brightness.

Hex #FF42E4 Color Codes & Conversions

Closest Named Color
Orchid (#DA70D6)
Hex Code #FF42E4
Hex8 (RGBA Hex) #FF42E4FF
RGB (CSS) rgb(255, 66, 228)
RGBA (CSS) rgba(255, 66, 228, 1)
HSL (CSS) hsl(309, 100%, 63%)
HSLA (CSS) hsla(309, 100%, 63%, 1)
HSV / HSB (309°, 74%, 100%)
CMYK Values (0%, 74%, 11%, 0%)
OKLCH (Modern CSS) oklch(71.1% 0.273 334.7)
CIE-LAB (D65) 62.31, 84.59, -42.64
CIE XYZ 57.19, 30.76, 76.31
Decimal / Binary 16728804
11111111 01000010 11100100

Closest Standards & Equivalents

Closest Web Safe
#FF33CC
Inverse Color
#00BD1B
Complementary Color
#42FF5D
Closest Pantone®
Pantone 806 C
Closest RAL
RAL 4003 [Heather violet]

#FF42E4 Grayscale Equivalents

Average
#B7B7B7
Lightness (Desaturation)
#A1A1A1
Weighted (BT601)
#8D8D8D
Luma (BT709)
#767676

WCAG 2.1 Color Contrast & Accessibility

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

Sample preview of readable typography on top of #FF42E4.

Contrast Ratio: 2.94:1
AA Fail AAA Fail

Black Text on #FF42E4

Sample preview of readable typography on top of #FF42E4.

Contrast Ratio: 7.15:1
AA Pass AAA Pass

HTML / CSS Live Previews & Snippets for #FF42E4

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

Background Preview
background-color: #FF42E4;
Typography Color Preview
color: #FF42E4;
Border & Shadow Preview
border: 2px solid #FF42E4;
CSS Custom Properties & Gradient
:root {
  --color-primary: #FF42E4;
  --color-primary-rgb: 255, 66, 228;
  --color-complementary: #42FF5D;
}
.btn-accent {
  background-color: #FF42E4;
  color: #000000;
}

Hex #FF42E4 Color Palettes

Complementary Palette

The complementary color of #FF42E4 is #42FF5D. 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 #FF42E4 pairs with #BB42FF and #FF4285, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.

Split-Complementary Palette

The split-complementary scheme of #FF42E4 pairs with #42FFBB and #85FF42, delivering strong contrast while remaining easier to balance than a direct complement.

Triadic Palette

The triadic color scheme of #FF42E4 uses #42E4FF and #E4FF42, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #FF42E4 combines #E4FF42, #42FF5D and #5D42FF around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #FF42E4 pairs with #FFBB42, #42FF5D and #4285FF spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #FF42E4

Tints

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

Tones

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

Shades

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

Hex #FF42E4 in Programming & CSS Frameworks

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

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