Use neon color palettes for dark-mode products, game interfaces, nightlife brands, and digital visuals that need a focused electric accent.
Neon colors are as saturated as a screen allows: hot pink, electric cyan, acid lime, and laser yellow. This collection averages about 82% HSL saturation, the highest on the site. The colors work best as light sources against a deep, tinted dark, not as fills for whole sections.
Neon colors are extremely saturated (this collection averages about 82% HSL saturation, the highest on the site), but saturation says nothing about contrast. Contrast depends on luminance. Neon cyan and yellow are very light: #00f5ff on black is 15.50:1. Neon magenta sits in the middle: #e90064 is 4.52:1 against white and 4.65:1 against black, so it barely passes with either and is a weak choice for small text in both themes.
Neon accents look strongest on a dark background with some color in it. In #060047, #b3005e, #e90064, #ff5f9e, the indigo #060047 does that job: pink #ff5f9e on it measures 6.72:1. Neon cyan #00f5ff and yellow #fce700 from other palettes reach 14.11:1 and 15.08:1 on the same indigo.
A glow is a stack of soft shadows in the accent color. Keep it on headings and controls, not paragraphs.
.neon-heading {
color: #ff5f9e;
text-shadow:
0 0 4px color-mix(in srgb, #ff5f9e 80%, transparent),
0 0 16px color-mix(in srgb, #e90064 60%, transparent);
}About two in five neon palettes also appear in the happy collection, and some are light candy colors, such as #ffffd0, #f3ccff, #d09cfa, #a555ec. Treat those like pastels: they need dark text (#2b1440 on #f3ccff is 11.66:1), and they will not glow on a light page.
Start from a dark with a hue, such as indigo #060047 or violet #3f0071, then choose one neon to lead and one to support. Pink with cyan, as in #ea047e and #00f5ff, is a common pair. Use an off-white for paragraphs and keep neon for headings and controls.
Neon contrast depends on luminance, not on how bright a color looks. Yellow #fce700 reaches 16.57:1 on black, but magenta #ea047e is 4.36:1 against white and 4.82:1 against black. About two thirds of the swatches here fall below 3:1 on white; orange #ff6d28 is 2.81:1.
Updated