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 keyword | magenta or fuchsia |
|---|---|
| HEX | #FF00FF |
| RGB | rgb(255 0 255) |
| HSL | hsl(300 100% 50%) |
| OKLCH | oklch(70.2% 0.322 328.4) |
| White text | 3.14:1 · body text AA Fail |
| Black text | 6.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.
| Colour | HEX | Contrast with Magenta | Body text AA |
|---|---|---|---|
| Sulpher Yellow | #F5ECC2 | 2.64:1 | Fail |
| Blue Violet | #6450A1 | 2.09:1 | Fail |
| Brick Red | #A84222 | 1.93:1 | Fail |
| Cream Yellow | #FDBF68 | 1.92:1 | Fail |
| Blue | #006EB8 | 1.71:1 | Fail |
| Golden Yellow | #F3A257 | 1.51:1 | Fail |
| Spectrum Red | #E31F26 | 1.49:1 | Fail |
| Grenadine Pink | #F48067 | 1.21:1 | Fail |
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.
- 100#FFF0FE
- 200#FFD5FC
- 300#FFACFB
- 400#FF6AFC
- 500#EB00EB
- 600#B800B8
- 700#8C008C
- 800#630063
- 900#3C003C
: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