What is hex #FF02FF 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, 1% green and 100% blue, resulting in rgb(255, 2, 255) and hsl(300, 100%, 50%).
For print media and manufacturing layout, the CMYK equivalent is (0%, 99%, 0%, 0%).
In the HSV/HSB scale, #FF02FF features a hue of 300°, 99% saturation, and 100% brightness.
Hex #FF02FF Color Codes & Conversions
| Closest Named Color | Magenta (#FF00FF) |
| Hex Code | #FF02FF |
| Hex8 (RGBA Hex) | #FF02FFFF |
| RGB (CSS) | rgb(255, 2, 255) |
| RGBA (CSS) | rgba(255, 2, 255, 1) |
| HSL (CSS) | hsl(300, 100%, 50%) |
| HSLA (CSS) | hsla(300, 100%, 50%, 1) |
| HSV / HSB | (300°, 99%, 100%) |
| CMYK Values | (0%, 99%, 0%, 0%) |
| OKLCH (Modern CSS) | oklch(70.2% 0.322 328.4) |
| CIE-LAB (D65) | 60.36, 98.12, -60.76 |
| CIE XYZ | 59.31, 28.53, 96.97 |
| Decimal / Binary |
16712447
11111111 00000010 11111111 |
Closest Standards & Equivalents
| Closest Web Safe | #FF00FF [Magenta] |
| Inverse Color | #00FD00 |
| Complementary Color | #02FF02 |
| Closest Pantone® | Pantone 807 C |
| Closest RAL | RAL 3024 [Luminous red] |
#FF02FF Grayscale Equivalents
| Average | #ABABAB |
| Lightness (Desaturation) | #818181 |
| Weighted (BT601) | #6A6A6A |
| Luma (BT709) | #4A4A4A |
WCAG 2.1 Color Contrast & Accessibility
Check how #FF02FF 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 #FF02FF
Sample preview of readable typography on top of #FF02FF.
Black Text on #FF02FF
Sample preview of readable typography on top of #FF02FF.
HTML / CSS Live Previews & Snippets for #FF02FF
Preview #FF02FF in real UI elements and copy ready-to-use CSS rules.
background-color: #FF02FF;
color: #FF02FF;
border: 2px solid #FF02FF;
:root {
--color-primary: #FF02FF;
--color-primary-rgb: 255, 2, 255;
--color-complementary: #02FF02;
}
.btn-accent {
background-color: #FF02FF;
color: #000000;
}
Hex #FF02FF Color Palettes
Complementary Palette
The complementary color of #FF02FF is #02FF02. 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 #FF02FF pairs with #8002FF and #FF0280, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.
Split-Complementary Palette
The split-complementary scheme of #FF02FF pairs with #02FF80 and #80FF02, delivering strong contrast while remaining easier to balance than a direct complement.
Triadic Palette
The triadic color scheme of #FF02FF uses #02FFFF and #FFFF02, spaced 120° apart for balanced, high-energy contrast.
Tetradic Palette
The tetradic color scheme of #FF02FF combines #FFFF02, #02FF02 and #0202FF around the color wheel for rich multi-accent UI systems.
Square Palette
The square color scheme of #FF02FF pairs with #FF8002, #02FF02 and #0280FF spaced evenly at 90° intervals.
Tints, Tones & Shades of Hex #FF02FF
Tints
Tints are created by mixing #FF02FF with white, producing lighter variations.
Tones
Tones are created by mixing #FF02FF with gray, softening saturation.
Shades
Shades result from mixing #FF02FF with black, creating deeper variations.
Hex #FF02FF in Programming & CSS Frameworks
Copy the exact syntax for #FF02FF in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:
| HTML / CSS | #FF02FF |
| Tailwind CSS | bg-[#FF02FF] text-[#FF02FF] |
| Java (AWT) | new Color(255,2,255); |
| Python | Color("#FF02FF") |
| .NET (C#) | Color.FromArgb(255, 255,2,255); |
| Swift / iOS | UIColor(red: 1, green: 0.01, blue: 1, alpha: 1) |
| Kotlin / Android | Color.rgb(255, 2, 255) |