magenta (#FF00FF)

magenta is a CSS named color with the hex code #FF00FF, rgb(255, 0, 255). It is a medium, vivid magenta.

magenta#FF00FF
Keywordmagenta
HEX#ff00ff
RGBrgb(255, 0, 255)
HSLhsl(300, 100%, 50%)

Full #FF00FF details: palettes, shades, color-blind view →

Description

Magenta has a hue of 300°, saturation 100% and lightness 50%, which places it in the pink & magenta family. Its strongest channel is red (255). It is identical to fuchsia; both keywords produce #FF00FF.

Using magenta in CSS

.title { color: magenta; }
.box   { background: magenta; border-color: #ff00ff; }
.soft  { background: rgb(255 0 255 / 20%); }   /* magenta at 20% opacity */

Named colors are case-insensitive and supported by every browser. Most of the 148 names come from the X11 color list adopted by early browsers.

Similar named colors

ColorHEXRGBΔE 2000
orchid#da70d6218, 112, 21410.2
mediumorchid#ba55d3186, 85, 21110.6
violet#ee82ee238, 130, 23812.2
hotpink#ff69b4255, 105, 18015.8
deeppink#ff1493255, 20, 14716.6
mediumpurple#9370db147, 112, 21918.2
darkorchid#9932cc153, 50, 20418.8
plum#dda0dd221, 160, 22120

ΔE 2000 measures perceived difference: under 2 is hard to tell apart, over 10 is clearly different.

Pairs well with

Readability

Contrast with white text: 3.14:1; with black text: 6.70:1. Black body text on magenta meets WCAG AA; white text does not.

Frequently asked questions

What is the hex code for magenta?
#FF00FF (the same as fuchsia).
What colors are similar to magenta?
orchid (#da70d6), mediumorchid (#ba55d3), violet (#ee82ee).