Five notes that sound bright over any major chord, across the whole neck and in its five boxes. Tap Play to hear it.
On piano
Next, play chords from your Mac keyboard with Chord Pad. Free to try.
The B major pentatonic is the B major scale without its 4th and 7th, E and A♯. Without those two half steps nothing clashes, so it sounds sweet over any chord in the key: country, pop and soul solos live here.
On the neck the scale repeats in five boxes. Box 1, from the 6th fret, has B on the low E string under your middle finger. It's the same shape as Box 2 of G♯ minor pentatonic: the same notes, with a different note as home.
The same scale in all twelve keys, and its relatives, are on the pentatonic scale page. Pick a key there, or play this one in another box above.
B, C♯, D♯, F♯ and G♯.
Same five notes, different home note: G♯ minor pentatonic starts on G♯. Over a B major chord they sound major; over G♯ minor, minor.
Over major chords and happy songs. Over a B blues, mix the two: the minor one sounds bluesy, the major one sweet.