What is hex #FF2AFF color?

 
The hex code #FF2AFF is closest to the named color Magenta (#FF00FF).
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, 16% green and 100% blue, resulting in rgb(255, 42, 255) and hsl(300, 100%, 58%).
For print media and manufacturing layout, the CMYK equivalent is (0%, 84%, 0%, 0%).
In the HSV/HSB scale, #FF2AFF features a hue of 300°, 84% saturation, and 100% brightness.

Hex #FF2AFF Color Codes & Conversions

Closest Named Color
Magenta (#FF00FF)
Hex Code #FF2AFF
Hex8 (RGBA Hex) #FF2AFFFF
RGB (CSS) rgb(255, 42, 255)
RGBA (CSS) rgba(255, 42, 255, 1)
HSL (CSS) hsl(300, 100%, 58%)
HSLA (CSS) hsla(300, 100%, 58%, 1)
HSV / HSB (300°, 84%, 100%)
CMYK Values (0%, 84%, 0%, 0%)
OKLCH (Modern CSS) oklch(71.2% 0.309 328.2)
CIE-LAB (D65) 61.78, 93.96, -58.51
CIE XYZ 60.12, 30.14, 97.24
Decimal / Binary 16722687
11111111 00101010 11111111

Closest Standards & Equivalents

Closest Web Safe
#FF33FF
Inverse Color
#00D500
Complementary Color
#2AFF2A
Closest Pantone®
Pantone 807 C
Closest RAL
RAL 3024 [Luminous red]

#FF2AFF Grayscale Equivalents

Average
#B8B8B8
Lightness (Desaturation)
#959595
Weighted (BT601)
#828282
Luma (BT709)
#676767

WCAG 2.1 Color Contrast & Accessibility

Check how #FF2AFF 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 #FF2AFF

Sample preview of readable typography on top of #FF2AFF.

Contrast Ratio: 2.99:1
AA Fail AAA Fail

Black Text on #FF2AFF

Sample preview of readable typography on top of #FF2AFF.

Contrast Ratio: 7.03:1
AA Pass AAA Pass

HTML / CSS Live Previews & Snippets for #FF2AFF

Preview #FF2AFF in real UI elements and copy ready-to-use CSS rules.

Background Preview
background-color: #FF2AFF;
Typography Color Preview
color: #FF2AFF;
Border & Shadow Preview
border: 2px solid #FF2AFF;
CSS Custom Properties & Gradient
:root {
  --color-primary: #FF2AFF;
  --color-primary-rgb: 255, 42, 255;
  --color-complementary: #2AFF2A;
}
.btn-accent {
  background-color: #FF2AFF;
  color: #000000;
}

Hex #FF2AFF Color Palettes

Complementary Palette

The complementary color of #FF2AFF is #2AFF2A. 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 #FF2AFF pairs with #942AFF and #FF2A94, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.

Split-Complementary Palette

The split-complementary scheme of #FF2AFF pairs with #2AFF94 and #94FF2A, delivering strong contrast while remaining easier to balance than a direct complement.

Triadic Palette

The triadic color scheme of #FF2AFF uses #2AFFFF and #FFFF2A, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #FF2AFF combines #FFFF2A, #2AFF2A and #2A2AFF around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #FF2AFF pairs with #FF942A, #2AFF2A and #2A94FF spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #FF2AFF

Tints

Tints are created by mixing #FF2AFF with white, producing lighter variations.

Tones

Tones are created by mixing #FF2AFF with gray, softening saturation.

Shades

Shades result from mixing #FF2AFF with black, creating deeper variations.

Hex #FF2AFF in Programming & CSS Frameworks

Copy the exact syntax for #FF2AFF in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:

HTML / CSS #FF2AFF
Tailwind CSS bg-[#FF2AFF] text-[#FF2AFF]
Java (AWT) new Color(255,42,255);
Python Color("#FF2AFF")
.NET (C#) Color.FromArgb(255, 255,42,255);
Swift / iOS UIColor(red: 1, green: 0.16, blue: 1, alpha: 1)
Kotlin / Android Color.rgb(255, 42, 255)