What is hex #FF05FF color?

 
The hex code #FF05FF 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, 2% green and 100% blue, resulting in rgb(255, 5, 255) and hsl(300, 100%, 51%).
For print media and manufacturing layout, the CMYK equivalent is (0%, 98%, 0%, 0%).
In the HSV/HSB scale, #FF05FF features a hue of 300°, 98% saturation, and 100% brightness.

Hex #FF05FF Color Codes & Conversions

Closest Named Color
Magenta (#FF00FF)
Hex Code #FF05FF
Hex8 (RGBA Hex) #FF05FFFF
RGB (CSS) rgb(255, 5, 255)
RGBA (CSS) rgba(255, 5, 255, 1)
HSL (CSS) hsl(300, 100%, 51%)
HSLA (CSS) hsla(300, 100%, 51%, 1)
HSV / HSB (300°, 98%, 100%)
CMYK Values (0%, 98%, 0%, 0%)
OKLCH (Modern CSS) oklch(70.2% 0.322 328.4)
CIE-LAB (D65) 60.42, 97.95, -60.67
CIE XYZ 59.34, 28.59, 96.98
Decimal / Binary 16713215
11111111 00000101 11111111

Closest Standards & Equivalents

Closest Web Safe
#FF00FF [Magenta]
Inverse Color
#00FA00
Complementary Color
#05FF05
Closest Pantone®
Pantone 807 C
Closest RAL
RAL 3024 [Luminous red]

#FF05FF Grayscale Equivalents

Average
#ACACAC
Lightness (Desaturation)
#828282
Weighted (BT601)
#6C6C6C
Luma (BT709)
#4C4C4C

WCAG 2.1 Color Contrast & Accessibility

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

Sample preview of readable typography on top of #FF05FF.

Contrast Ratio: 3.13:1
AA Fail AAA Fail

Black Text on #FF05FF

Sample preview of readable typography on top of #FF05FF.

Contrast Ratio: 6.72:1
AA Pass AAA Fail

HTML / CSS Live Previews & Snippets for #FF05FF

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

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

Hex #FF05FF Color Palettes

Complementary Palette

The complementary color of #FF05FF is #05FF05. 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 #FF05FF pairs with #8205FF and #FF0582, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.

Split-Complementary Palette

The split-complementary scheme of #FF05FF pairs with #05FF82 and #82FF05, delivering strong contrast while remaining easier to balance than a direct complement.

Triadic Palette

The triadic color scheme of #FF05FF uses #05FFFF and #FFFF05, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #FF05FF combines #FFFF05, #05FF05 and #0505FF around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #FF05FF pairs with #FF8205, #05FF05 and #0582FF spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #FF05FF

Tints

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

Tones

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

Shades

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

Hex #FF05FF in Programming & CSS Frameworks

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

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