Swatchproof

Magenta #FF00FF

Magenta is one of the named colours in CSS, written magenta or fuchsia. Black text reaches 6.70:1 on it, enough for body text.

Try on walls Preview on a website

Colour codes

CSS keywordmagenta or fuchsia
HEX#FF00FF
RGBrgb(255 0 255)
HSLhsl(300 100% 50%)
OKLCHoklch(70.2% 0.322 328.4)
White text3.14:1 · body text AA Fail
Black text6.70:1 · body text AA Pass

Colours that go with Magenta

The closest colour in Sanzo Wada's A Dictionary of Color Combinations is Eupatorium Purple (#BF5892), the nearest, though visibly different. These are the colours Wada paired it with, ranked by their contrast with Magenta itself.

ColourHEXContrast with MagentaBody text AA
Sulpher Yellow#F5ECC22.64:1Fail
Blue Violet#6450A12.09:1Fail
Brick Red#A842221.93:1Fail
Cream Yellow#FDBF681.92:1Fail
Blue#006EB81.71:1Fail
Golden Yellow#F3A2571.51:1Fail
Spectrum Red#E31F261.49:1Fail
Grenadine Pink#F480671.21:1Fail

Palettes with Eupatorium Purple

Shades and tints of Magenta

Nine lightness steps in OKLCH that keep the hue of Magenta. Chroma is reduced only where sRGB cannot show it.

:root {
  --magenta-100: #FFF0FE;
  --magenta-200: #FFD5FC;
  --magenta-300: #FFACFB;
  --magenta-400: #FF6AFC;
  --magenta-500: #EB00EB;
  --magenta-600: #B800B8;
  --magenta-700: #8C008C;
  --magenta-800: #630063;
  --magenta-900: #3C003C;
}

Text that keeps Magenta on screen

Text #3C003C on #FF00FF reaches 5.33:1, which passes WCAG AA for body text. Check it on a dashboard

Similar CSS colours