What is hex #FF42E8 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 100% red, 26% green and 91% blue, resulting in rgb(255, 66, 232) and hsl(307, 100%, 63%).
For print media and manufacturing layout, the CMYK equivalent is (0%, 74%, 9%, 0%).
In the HSV/HSB scale, #FF42E8 features a hue of 307°, 74% saturation, and 100% brightness.
Hex #FF42E8 Color Codes & Conversions
| Closest Named Color | Orchid (#DA70D6) |
| Hex Code | #FF42E8 |
| Hex8 (RGBA Hex) | #FF42E8FF |
| RGB (CSS) | rgb(255, 66, 232) |
| RGBA (CSS) | rgba(255, 66, 232, 1) |
| HSL (CSS) | hsl(307, 100%, 63%) |
| HSLA (CSS) | hsla(307, 100%, 63%, 1) |
| HSV / HSB | (307°, 74%, 100%) |
| CMYK Values | (0%, 74%, 9%, 0%) |
| OKLCH (Modern CSS) | oklch(71.3% 0.275 333.6) |
| CIE-LAB (D65) | 62.50, 85.15, -44.58 |
| CIE XYZ | 57.75, 30.99, 79.27 |
| Decimal / Binary |
16728808
11111111 01000010 11101000 |
Closest Standards & Equivalents
| Closest Web Safe | #FF33FF |
| Inverse Color | #00BD17 |
| Complementary Color | #42FF59 |
| Closest Pantone® | Pantone 806 C |
| Closest RAL | RAL 4003 [Heather violet] |
#FF42E8 Grayscale Equivalents
| Average | #B8B8B8 |
| Lightness (Desaturation) | #A1A1A1 |
| Weighted (BT601) | #8D8D8D |
| Luma (BT709) | #767676 |
WCAG 2.1 Color Contrast & Accessibility
Check how #FF42E8 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 #FF42E8
Sample preview of readable typography on top of #FF42E8.
Black Text on #FF42E8
Sample preview of readable typography on top of #FF42E8.
HTML / CSS Live Previews & Snippets for #FF42E8
Preview #FF42E8 in real UI elements and copy ready-to-use CSS rules.
background-color: #FF42E8;
color: #FF42E8;
border: 2px solid #FF42E8;
:root {
--color-primary: #FF42E8;
--color-primary-rgb: 255, 66, 232;
--color-complementary: #42FF59;
}
.btn-accent {
background-color: #FF42E8;
color: #000000;
}
Hex #FF42E8 Color Palettes
Complementary Palette
The complementary color of #FF42E8 is #42FF59. 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 #FF42E8 pairs with #B742FF and #FF4289, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.
Split-Complementary Palette
The split-complementary scheme of #FF42E8 pairs with #42FFB7 and #89FF42, delivering strong contrast while remaining easier to balance than a direct complement.
Triadic Palette
The triadic color scheme of #FF42E8 uses #42E8FF and #E8FF42, spaced 120° apart for balanced, high-energy contrast.
Tetradic Palette
The tetradic color scheme of #FF42E8 combines #E8FF42, #42FF59 and #5942FF around the color wheel for rich multi-accent UI systems.
Square Palette
The square color scheme of #FF42E8 pairs with #FFB742, #42FF59 and #4289FF spaced evenly at 90° intervals.
Tints, Tones & Shades of Hex #FF42E8
Tints
Tints are created by mixing #FF42E8 with white, producing lighter variations.
Tones
Tones are created by mixing #FF42E8 with gray, softening saturation.
Shades
Shades result from mixing #FF42E8 with black, creating deeper variations.
Hex #FF42E8 in Programming & CSS Frameworks
Copy the exact syntax for #FF42E8 in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:
| HTML / CSS | #FF42E8 |
| Tailwind CSS | bg-[#FF42E8] text-[#FF42E8] |
| Java (AWT) | new Color(255,66,232); |
| Python | Color("#FF42E8") |
| .NET (C#) | Color.FromArgb(255, 255,66,232); |
| Swift / iOS | UIColor(red: 1, green: 0.26, blue: 0.91, alpha: 1) |
| Kotlin / Android | Color.rgb(255, 66, 232) |