What is hex #FF2DF7 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, 45, 247) and hsl(302, 100%, 59%).
For print media and manufacturing layout, the CMYK equivalent is (0%, 82%, 3%, 0%).
In the HSV/HSB scale, #FF2DF7 features a hue of 302°, 82% saturation, and 100% brightness.
Hex #FF2DF7 Color Codes & Conversions
| Closest Named Color | Magenta (#FF00FF) |
| Hex Code | #FF2DF7 |
| Hex8 (RGBA Hex) | #FF2DF7FF |
| RGB (CSS) | rgb(255, 45, 247) |
| RGBA (CSS) | rgba(255, 45, 247, 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(70.9% 0.302 330.0) |
| CIE-LAB (D65) | 61.53, 92.26, -54.46 |
| CIE XYZ | 58.97, 29.86, 90.63 |
| Decimal / Binary |
16723447
11111111 00101101 11110111 |
WCAG 2.1 Color Contrast & Accessibility
Check how #FF2DF7 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 #FF2DF7
Sample preview of readable typography on top of #FF2DF7.
Black Text on #FF2DF7
Sample preview of readable typography on top of #FF2DF7.
HTML / CSS Live Previews & Snippets for #FF2DF7
Preview #FF2DF7 in real UI elements and copy ready-to-use CSS rules.
background-color: #FF2DF7;
color: #FF2DF7;
border: 2px solid #FF2DF7;
:root {
--color-primary: #FF2DF7;
--color-primary-rgb: 255, 45, 247;
--color-complementary: #2DFF35;
}
.btn-accent {
background-color: #FF2DF7;
color: #000000;
}
Hex #FF2DF7 Color Palettes
Complementary Palette
The complementary color of #FF2DF7 is #2DFF35. 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 #FF2DF7 pairs with #9E2DFF and #FF2D8E, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.
Split-Complementary Palette
The split-complementary scheme of #FF2DF7 pairs with #2DFF9E and #8EFF2D, delivering strong contrast while remaining easier to balance than a direct complement.
Triadic Palette
The triadic color scheme of #FF2DF7 uses #2DF7FF and #F7FF2D, spaced 120° apart for balanced, high-energy contrast.
Tetradic Palette
The tetradic color scheme of #FF2DF7 combines #F7FF2D, #2DFF35 and #352DFF around the color wheel for rich multi-accent UI systems.
Square Palette
The square color scheme of #FF2DF7 pairs with #FF9E2D, #2DFF35 and #2D8EFF spaced evenly at 90° intervals.
Tints, Tones & Shades of Hex #FF2DF7
Tints
Tints are created by mixing #FF2DF7 with white, producing lighter variations.
Tones
Tones are created by mixing #FF2DF7 with gray, softening saturation.
Shades
Shades result from mixing #FF2DF7 with black, creating deeper variations.
Hex #FF2DF7 in Programming & CSS Frameworks
Copy the exact syntax for #FF2DF7 in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:
| HTML / CSS | #FF2DF7 |
| Tailwind CSS | bg-[#FF2DF7] text-[#FF2DF7] |
| Java (AWT) | new Color(255,45,247); |
| Python | Color("#FF2DF7") |
| .NET (C#) | Color.FromArgb(255, 255,45,247); |
| Swift / iOS | UIColor(red: 1, green: 0.18, blue: 0.97, alpha: 1) |
| Kotlin / Android | Color.rgb(255, 45, 247) |