Magenta color: hex codes, shades and palettes
Palettes built around magenta. Click any swatch to copy its hex code.
Magenta is #FF00FF — vivid purple. Below are its shades with hex codes, the values in every common format, and magenta color palettes to copy.
No magenta palettes yet
Run npm run generate to build the dataset.
Magenta hex, RGB, HSL and OKLCH
- HEX
#FF00FF- RGB
rgb(255, 0, 255)- HSL
hsl(300, 100%, 50%)- OKLCH
oklch(70.2% 0.322 328.4)- On white
- 3.14:1
- On black
- 6.70:1
Shades of magenta
Eleven steps from one base color, generated in OKLCH so each step is an equal perceived step rather than an equal numeric one. Click a swatch to copy it.
Contrast and readability
Magenta on white measures 3.14:1 and on black 6.70:1. WCAG AA asks for 4.5:1 on normal text and 3:1 on large text and UI components, so the higher of those two decides which background it belongs on. In the scale above, 500 is the first to clear 4.5:1 on white, at 6.10:1.
The contrast checker reports every level for a given pair and suggests the nearest passing shade on the same hue. The color picker builds this same scale from any color you paste in.
Related colors:rose, pink, hot pink, blush, fuchsia, rose pink. See every shade on the colors index.