What is hex #FF2FF2 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, 18% green and 95% blue, resulting in rgb(255, 47, 242) and hsl(304, 100%, 59%).
For print media and manufacturing layout, the CMYK equivalent is (0%, 82%, 5%, 0%).
In the HSV/HSB scale, #FF2FF2 features a hue of 304°, 82% saturation, and 100% brightness.
Hex #FF2FF2 Color Codes & Conversions
| Closest Named Color | Magenta (#FF00FF) |
| Hex Code | #FF2FF2 |
| Hex8 (RGBA Hex) | #FF2FF2FF |
| RGB (CSS) | rgb(255, 47, 242) |
| RGBA (CSS) | rgba(255, 47, 242, 1) |
| HSL (CSS) | hsl(304, 100%, 59%) |
| HSLA (CSS) | hsla(304, 100%, 59%, 1) |
| HSV / HSB | (304°, 82%, 100%) |
| CMYK Values | (0%, 82%, 5%, 0%) |
| OKLCH (Modern CSS) | oklch(70.7% 0.297 331.2) |
| CIE-LAB (D65) | 61.40, 91.16, -51.89 |
| CIE XYZ | 58.28, 29.71, 86.65 |
| Decimal / Binary |
16723954
11111111 00101111 11110010 |
Closest Standards & Equivalents
| Closest Web Safe | #FF33FF |
| Inverse Color | #00D00D |
| Complementary Color | #2FFF3C |
| Closest Pantone® | Pantone 806 C |
| Closest RAL | RAL 4010 [Telemagenta] |
#FF2FF2 Grayscale Equivalents
| Average | #B5B5B5 |
| Lightness (Desaturation) | #979797 |
| Weighted (BT601) | #838383 |
| Luma (BT709) | #696969 [Dim Grey] |
WCAG 2.1 Color Contrast & Accessibility
Check how #FF2FF2 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 #FF2FF2
Sample preview of readable typography on top of #FF2FF2.
Black Text on #FF2FF2
Sample preview of readable typography on top of #FF2FF2.
HTML / CSS Live Previews & Snippets for #FF2FF2
Preview #FF2FF2 in real UI elements and copy ready-to-use CSS rules.
background-color: #FF2FF2;
color: #FF2FF2;
border: 2px solid #FF2FF2;
:root {
--color-primary: #FF2FF2;
--color-primary-rgb: 255, 47, 242;
--color-complementary: #2FFF3C;
}
.btn-accent {
background-color: #FF2FF2;
color: #000000;
}
Hex #FF2FF2 Color Palettes
Complementary Palette
The complementary color of #FF2FF2 is #2FFF3C. 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 #FF2FF2 pairs with #A42FFF and #FF2F8A, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.
Split-Complementary Palette
The split-complementary scheme of #FF2FF2 pairs with #2FFFA4 and #8AFF2F, delivering strong contrast while remaining easier to balance than a direct complement.
Triadic Palette
The triadic color scheme of #FF2FF2 uses #2FF2FF and #F2FF2F, spaced 120° apart for balanced, high-energy contrast.
Tetradic Palette
The tetradic color scheme of #FF2FF2 combines #F2FF2F, #2FFF3C and #3C2FFF around the color wheel for rich multi-accent UI systems.
Square Palette
The square color scheme of #FF2FF2 pairs with #FFA42F, #2FFF3C and #2F8AFF spaced evenly at 90° intervals.
Tints, Tones & Shades of Hex #FF2FF2
Tints
Tints are created by mixing #FF2FF2 with white, producing lighter variations.
Tones
Tones are created by mixing #FF2FF2 with gray, softening saturation.
Shades
Shades result from mixing #FF2FF2 with black, creating deeper variations.
Hex #FF2FF2 in Programming & CSS Frameworks
Copy the exact syntax for #FF2FF2 in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:
| HTML / CSS | #FF2FF2 |
| Tailwind CSS | bg-[#FF2FF2] text-[#FF2FF2] |
| Java (AWT) | new Color(255,47,242); |
| Python | Color("#FF2FF2") |
| .NET (C#) | Color.FromArgb(255, 255,47,242); |
| Swift / iOS | UIColor(red: 1, green: 0.18, blue: 0.95, alpha: 1) |
| Kotlin / Android | Color.rgb(255, 47, 242) |