What is hex #F804FF 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 97% red, 2% green and 100% blue, resulting in rgb(248, 4, 255) and hsl(298, 100%, 51%).
For print media and manufacturing layout, the CMYK equivalent is (3%, 98%, 0%, 0%).
In the HSV/HSB scale, #F804FF features a hue of 298°, 98% saturation, and 100% brightness.
Hex #F804FF Color Codes & Conversions
| Closest Named Color | Magenta (#FF00FF) |
| Hex Code | #F804FF |
| Hex8 (RGBA Hex) | #F804FFFF |
| RGB (CSS) | rgb(248, 4, 255) |
| RGBA (CSS) | rgba(248, 4, 255, 1) |
| HSL (CSS) | hsl(298, 100%, 51%) |
| HSLA (CSS) | hsla(298, 100%, 51%, 1) |
| HSV / HSB | (298°, 98%, 100%) |
| CMYK Values | (3%, 98%, 0%, 0%) |
| OKLCH (Modern CSS) | oklch(69.2% 0.319 326.8) |
| CIE-LAB (D65) | 59.22, 96.93, -62.66 |
| CIE XYZ | 56.80, 27.27, 96.86 |
| Decimal / Binary |
16254207
11111000 00000100 11111111 |
Closest Standards & Equivalents
| Closest Web Safe | #FF00FF [Magenta] |
| Inverse Color | #07FB00 |
| Complementary Color | #0BFF04 |
| Closest Pantone® | Pantone 807 C |
| Closest RAL | RAL 4010 [Telemagenta] |
#F804FF Grayscale Equivalents
| Average | #A9A9A9 [Dark Medium Gray] |
| Lightness (Desaturation) | #828282 |
| Weighted (BT601) | #6A6A6A |
| Luma (BT709) | #4A4A4A |
WCAG 2.1 Color Contrast & Accessibility
Check how #F804FF 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 #F804FF
Sample preview of readable typography on top of #F804FF.
Black Text on #F804FF
Sample preview of readable typography on top of #F804FF.
HTML / CSS Live Previews & Snippets for #F804FF
Preview #F804FF in real UI elements and copy ready-to-use CSS rules.
background-color: #F804FF;
color: #F804FF;
border: 2px solid #F804FF;
:root {
--color-primary: #F804FF;
--color-primary-rgb: 248, 4, 255;
--color-complementary: #0BFF04;
}
.btn-accent {
background-color: #F804FF;
color: #000000;
}
Hex #F804FF Color Palettes
Complementary Palette
The complementary color of #F804FF is #0BFF04. 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 #F804FF pairs with #7A04FF and #FF0488, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.
Split-Complementary Palette
The split-complementary scheme of #F804FF pairs with #04FF7A and #88FF04, delivering strong contrast while remaining easier to balance than a direct complement.
Triadic Palette
The triadic color scheme of #F804FF uses #04FFF8 and #FFF804, spaced 120° apart for balanced, high-energy contrast.
Tetradic Palette
The tetradic color scheme of #F804FF combines #FFF804, #0BFF04 and #040BFF around the color wheel for rich multi-accent UI systems.
Square Palette
The square color scheme of #F804FF pairs with #FF7A04, #0BFF04 and #0488FF spaced evenly at 90° intervals.
Tints, Tones & Shades of Hex #F804FF
Tints
Tints are created by mixing #F804FF with white, producing lighter variations.
Tones
Tones are created by mixing #F804FF with gray, softening saturation.
Shades
Shades result from mixing #F804FF with black, creating deeper variations.
Hex #F804FF in Programming & CSS Frameworks
Copy the exact syntax for #F804FF in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:
| HTML / CSS | #F804FF |
| Tailwind CSS | bg-[#F804FF] text-[#F804FF] |
| Java (AWT) | new Color(248,4,255); |
| Python | Color("#F804FF") |
| .NET (C#) | Color.FromArgb(255, 248,4,255); |
| Swift / iOS | UIColor(red: 0.97, green: 0.02, blue: 1, alpha: 1) |
| Kotlin / Android | Color.rgb(248, 4, 255) |