Magenta (#FF00FF)

HEX, RGB, HSL, CMYK values + mood/style/use-case color tags. Use this page to keep your colors consistent across web and print.

Preview

Sample Text
This is how text may look on this color.
Best text color: #000000
Contrast vs white: 3.14:1 — vs black: 6.70:1

Color values

  • HEX #FF00FF
  • RGB rgb(255, 0, 255)
  • HSL hsl(300, 100%, 50%)
  • CMYK cmyk( 0, 100, 0, 0 )
  • Websafe #FF00FF

Tags

Tip: tags are heuristic suggestions (helpful for browsing and inspiration).

Color Harmonies

Colors that pair well with #FF00FF based on color theory relationships.

Complementary

The color directly opposite on the color wheel — creates maximum contrast and vibrance.

Magenta
#FF00FF Base
Green
#00FF00
Analogous

Colors adjacent on the wheel — naturally harmonious and pleasing to the eye.

Magenta
#FF00FF Base
#8000FF
#FF0080
Triadic

Three colors equally spaced 120° apart — bold, balanced, and visually rich.

Magenta
#FF00FF Base
Yellow
#FFFF00
Cyan
#00FFFF
Split-Complementary

Two colors flanking the complement — high contrast with less tension than full complementary.

Magenta
#FF00FF Base
#80FF00
#00FF80
Tetradic (Square)

Four colors at 90° intervals — rich variety, best when one color dominates.

Magenta
#FF00FF Base
#FF8000
Green
#00FF00
#0080FF
Monochromatic

Shades and tints of the same hue — cohesive, elegant, and easy to work with.

Magenta
#FF00FF Base
#660066
#B300B3
#D600D6
#FF29FF
#FF4DFF
#FF99FF
Shades & Tints

Darker shades and lighter tints of Magenta, generated by adjusting lightness while keeping the same hue and saturation.

Shades (darker)

#1A001A
#470047
#750075
#A300A3
#D100D1
Magenta #FF00FF Base
#FF2EFF
#FF5CFF
#FF8AFF
#FFB8FF
#FFE6FF
CSS & SCSS Snippets

Ready-to-use code snippets for #FF00FF. Click the copy button to copy any snippet to your clipboard.

CSS Properties
/* Background */
.element {
    background-color: #FF00FF;
}

/* Text */
.element {
    color: #FF00FF;
}

/* Border */
.element {
    border: 1px solid #FF00FF;
}
CSS Gradient
/* Linear gradient to complementary */
.element {
    background: linear-gradient(
        to right,
        #FF00FF,
        #00FF00
    );
}

/* Radial gradient */
.element {
    background: radial-gradient(
        circle,
        #FF00FF,
        #00FF00
    );
}
SCSS Variable
// SCSS variable
$magenta: #FF00FF;

// With RGB channels (useful for rgba() usage)
$magenta-r: 255;
$magenta-g: 0;
$magenta-b: 255;

// Usage
.element {
    background-color: $magenta;
    color: rgba($magenta-r, $magenta-g, $magenta-b, 0.8);
}
Color Blindness Simulation

How Magenta appears to people with different types of color vision deficiency.

Normal Vision #FF00FF How the color appears with full color vision.
Deuteranopia #9393FD Deuteranopia affects ~8% of males. Green cones are absent, making it difficult to distinguish red from green. The most common form of color blindness.
Protanopia #5D5DFF Protanopia affects ~1% of males. Red cones are absent, causing reds to appear dark and indistinguishable from greens and browns.
Tritanopia #EF6464 Tritanopia is rare (~0.003%). Blue cones are absent, making blue and yellow difficult to distinguish. Blues may appear green, yellows appear pink.
Achromatopsia #919191 Achromatopsia is complete color blindness. The world is seen entirely in shades of grey. Affects ~1 in 30,000 people.
Similar Named Colors

The closest named colors to Magenta ranked by perceptual difference (Delta-E 2000 — lower = more similar).

Magenta #FF00FF Base
Psychedelic Purple #DF00FF ΔE 5.88
Hot Magenta #FF1DCE ΔE 6.87
Purple Pizzazz #FE4EDA ΔE 7.10
Razzle Dazzle Rose #FF33CC ΔE 7.57

How to use this color

  1. Copy HEX for CSS and design tools, or RGB/HSL for UI adjustments.
  2. Use CMYK when preparing print assets (posters, packaging, brochures).
  3. Check contrast before using it for text or important UI elements.