ipRGCs: The cells behind light-triggered migraine

Your retina contains a class of neurons called intrinsically photosensitive retinal ganglion cells (ipRGCs). Unlike rods and cones that form images, ipRGCs detect ambient light levels and regulate non-visual functions: circadian rhythm, pupil constriction, and, critically, pain signaling during migraine.

ipRGCs express a photopigment called melanopsin, which has peak sensitivity at approximately 480nm, in the blue-cyan part of the visible spectrum. When melanopsin absorbs light at or near this wavelength, it triggers a signal cascade that amplifies photophobia in migraine sufferers.

480nm

Melanopsin peak sensitivity wavelength. Gaussian absorption profile with σ≈30nm, meaning the most activating light falls between roughly 450–510nm.

1,000–5,000

Estimated number of ipRGCs per human retina (vs. ~6 million cones). Few cells, but outsized impact on photophobia signaling.

In 2016, Harvard researchers led by Rami Burstein showed that ipRGC signals converge on thalamic neurons that also process pain. During a migraine attack, these pathways become hyperexcitable, meaning normal indoor lighting can trigger or worsen headache pain through a mechanism entirely separate from visual perception.

A 2020 study in PNAS confirmed that ipRGC signaling is significantly amplified in migraine patients compared to healthy controls, even between attacks. The implication: reducing melanopsin-activating wavelengths can lower the baseline photophobia load, not just during attacks but throughout the day.

The narrow green band exception

Noseda's 2016 study made a striking finding: when testing migraine patients' responses to different colors of light, narrow-band green light at approximately 520–540nm was the only color that did not intensify headache. Blue, amber, red, and white light all worsened pain.

Visible spectrum, green band highlighted. Melanopsin peaks at 480nm; the 520–540nm window is the one region Noseda's patients tolerated.

This finding informs Nox's Green Band preset, which passes primarily the 520–540nm range while attenuating shorter and longer wavelengths. The result is a display that appears green-tinted but minimizes stimulation of the ipRGC-thalamic pain pathway.

The mechanism is thought to relate to the spectral gap between melanopsin sensitivity (peaking at 480nm) and the green cone response (peaking around 530nm). Narrow-band green falls in a window that activates cones for usable vision while largely bypassing melanopsin-driven photophobia.

FL-41: The clinical filter

FL-41 is a rose-tinted optical filter originally developed for patients with light sensitivity from fluorescent lighting. It selectively attenuates wavelengths in the blue-green range (around 480–520nm) while preserving most of the visible spectrum.

74%

In a clinical trial of pediatric migraine patients, FL-41 tinted lenses reduced migraine attack frequency by 74%, compared to only 36% for standard blue-blocking lenses. The control group wore lenses that blocked equal amounts of total light but without the spectral selectivity of FL-41.

More recent work by Lipton and colleagues confirmed FL-41's efficacy in adults, with significant reductions in photophobia scores and headache burden. Importantly, the benefit was specific to the FL-41 spectral profile: general darkening of lenses did not produce the same result.

Nox's FL-41 preset emulates the spectral transmittance profile of clinical FL-41 lenses by computing per-channel attenuation factors from the published transmittance curve integrated against display primary emission spectra. The result is a software approximation of the same optical filter.

480nm notch filter design

In 2016, Hoggan and colleagues proposed a different approach: instead of broadly tinting lenses rose or amber, use a thin-film optical notch filter to remove a narrow band centered precisely on 480nm, the melanopsin peak, while leaving the rest of the spectrum largely intact.

The advantage is better color fidelity. A notch filter removes only the most problematic wavelengths, causing less overall color distortion than a broad tint. The tradeoff is narrower protection: if migraine photophobia involves a wider spectral range, a notch may be less protective than FL-41.

Nox's Notch 480 preset implements this approach digitally, targeting the melanopsin peak with a narrow attenuation band while preserving color accuracy across the rest of the spectrum.

How Nox applies the research

Three layers of computation translate spectral science into a comfortable screen.

1

Spectral Curve

Each preset starts as a transmittance curve: 41 wavelength-transmittance pairs from 380nm to 780nm. The Migraine Precision curve drops to just 2% transmittance at 480nm while passing 75% at 530–540nm.

2

Channel Integration

Your display emits light from three phosphors (R: 630nm, G: 530nm, B: 455nm). The filter curve is integrated against each primary's Gaussian emission profile to compute exact per-channel attenuation factors.

3

Gamma Table

The computed factors feed a 6-stage pipeline: per-channel filtering → color temperature → dimming → contrast → black point → gamma correction. The result is written to your display's hardware gamma table.

The 6-stage pipeline in detail

Stage 1 Per-channel spectral filtering

The 41-point transmittance curve is integrated against each display primary's emission spectrum (modeled as Gaussians: R at 630nm, G at 530nm, B at 455nm, each with σ=30nm). This produces three attenuation factors between 0.0 and 1.0.

Stage 2 Color temperature shift

An optional Kelvin-to-RGB mapping (2700K–6500K) applies a secondary warm/cool adjustment. This is multiplicative with the spectral filter: a 3000K shift stacked on an FL-41 curve produces aggressive evening filtering.

Stage 3 Dimming

Uniform luminance reduction across all channels. At 50% dimming, every gamma table entry is halved. This reduces total light output without changing the spectral shape of the filter.

Stage 4 Contrast adjustment

Scales the gamma curve around the midpoint (0.5). Higher contrast steepens the curve; lower contrast compresses it. Useful for reducing harsh contrast on bright screens during a migraine attack.

Stage 5 Black point lift

Raises the minimum output value so that true black becomes a soft dark gray. This reduces the harsh contrast between dark UI elements and bright content, which can be a photophobia trigger.

Stage 6 Gamma correction

Final power-law transform applied to the entire curve. Default γ=1.0 (linear). Values <1.0 brighten midtones; values >1.0 darken them. The composed result is written as a 256-entry lookup table per channel to CGSetDisplayTransferByTable.

Melanopic suppression metric

Nox computes a real-time melanopic suppression percentage by integrating the melanopsin sensitivity function (modeled as a Gaussian with λpeak=480nm, σ=30nm) against the effective display emission after filtering. At 80% intensity, the Migraine Precision preset achieves ~73% melanopic suppression, meaning nearly three-quarters of the melanopsin-activating light is removed while preserving usable screen brightness.

References

  1. Noseda, R., et al. (2016). “Migraine photophobia originating in cone-driven retinal pathways.” Brain, 139(7), 1971–1986.

    doi:10.1093/brain/aww119
  2. McAdams, H., et al. (2020). “Selective amplification of ipRGC signals accounts for interictal photophobia in migraine.” PNAS, 117(29), 17320–17329.

    doi:10.1073/pnas.2007402117
  3. Good, P.A., et al. (1991). “The use of tinted glasses in childhood migraine.” Headache, 31(8), 533–536.

    doi:10.1111/j.1526-4610.1991.hed3108533.x
  4. Hoggan, R.N., et al. (2016). “Thin-film optical notch filter spectacle coatings for the treatment of migraine and photophobia.” J. Clinical Neuroscience, 28, 71–76.

    doi:10.1016/j.jocn.2015.09.024
  5. Lipton, R.B., et al. (2023). “Precision-tinted lenses for migraine photophobia.” Headache. Presented at AHS 2023.

Put the research on your screen

Every filter described above ships with Nox. Try them free for 14 days.

Nox applies filter profiles based on published research on light sensitivity. It is not a medical device and does not diagnose, treat, or cure any condition. Consult your physician regarding migraine management.