What is hex #FF2FF8 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 97% blue, resulting in rgb(255, 47, 248) and hsl(302, 100%, 59%).
For print media and manufacturing layout, the CMYK equivalent is (0%, 82%, 3%, 0%).
In the HSV/HSB scale, #FF2FF8 features a hue of 302°, 82% saturation, and 100% brightness.
Hex #FF2FF8 Color Codes & Conversions
| Closest Named Color | Magenta (#FF00FF) |
| Hex Code | #FF2FF8 |
| Hex8 (RGBA Hex) | #FF2FF8FF |
| RGB (CSS) | rgb(255, 47, 248) |
| RGBA (CSS) | rgba(255, 47, 248, 1) |
| HSL (CSS) | hsl(302, 100%, 59%) |
| HSLA (CSS) | hsla(302, 100%, 59%, 1) |
| HSV / HSB | (302°, 82%, 100%) |
| CMYK Values | (0%, 82%, 3%, 0%) |
| OKLCH (Modern CSS) | oklch(71.0% 0.301 329.8) |
| CIE-LAB (D65) | 61.72, 92.01, -54.72 |
| CIE XYZ | 59.20, 30.08, 91.48 |
| Decimal / Binary |
16723960
11111111 00101111 11111000 |
WCAG 2.1 Color Contrast & Accessibility
Check how #FF2FF8 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 #FF2FF8
Sample preview of readable typography on top of #FF2FF8.
Black Text on #FF2FF8
Sample preview of readable typography on top of #FF2FF8.
HTML / CSS Live Previews & Snippets for #FF2FF8
Preview #FF2FF8 in real UI elements and copy ready-to-use CSS rules.
background-color: #FF2FF8;
color: #FF2FF8;
border: 2px solid #FF2FF8;
:root {
--color-primary: #FF2FF8;
--color-primary-rgb: 255, 47, 248;
--color-complementary: #2FFF36;
}
.btn-accent {
background-color: #FF2FF8;
color: #000000;
}
Hex #FF2FF8 Color Palettes
Complementary Palette
The complementary color of #FF2FF8 is #2FFF36. 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 #FF2FF8 pairs with #9E2FFF and #FF2F90, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.
Split-Complementary Palette
The split-complementary scheme of #FF2FF8 pairs with #2FFF9E and #90FF2F, delivering strong contrast while remaining easier to balance than a direct complement.
Triadic Palette
The triadic color scheme of #FF2FF8 uses #2FF8FF and #F8FF2F, spaced 120° apart for balanced, high-energy contrast.
Tetradic Palette
The tetradic color scheme of #FF2FF8 combines #F8FF2F, #2FFF36 and #362FFF around the color wheel for rich multi-accent UI systems.
Square Palette
The square color scheme of #FF2FF8 pairs with #FF9E2F, #2FFF36 and #2F90FF spaced evenly at 90° intervals.
Tints, Tones & Shades of Hex #FF2FF8
Tints
Tints are created by mixing #FF2FF8 with white, producing lighter variations.
Tones
Tones are created by mixing #FF2FF8 with gray, softening saturation.
Shades
Shades result from mixing #FF2FF8 with black, creating deeper variations.
Hex #FF2FF8 in Programming & CSS Frameworks
Copy the exact syntax for #FF2FF8 in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:
| HTML / CSS | #FF2FF8 |
| Tailwind CSS | bg-[#FF2FF8] text-[#FF2FF8] |
| Java (AWT) | new Color(255,47,248); |
| Python | Color("#FF2FF8") |
| .NET (C#) | Color.FromArgb(255, 255,47,248); |
| Swift / iOS | UIColor(red: 1, green: 0.18, blue: 0.97, alpha: 1) |
| Kotlin / Android | Color.rgb(255, 47, 248) |