Level 6 Abjuration (Wizard). Material component. Full SRD 5.2.1 text below, then World Seed comparisons computed from all 339 SRD spells.
Contingency
Level 6 Abjuration (Wizard)
Casting Time
10 minutes
Range
Self
Components
V, S, M (a gem-encrusted statuette of yourself worth 1,500+ GP)
Duration
10 days
Choose a spell of level 5 or lower that you can cast, that has a casting time of an action, and that can target you. You cast that spell—called the contingent spell—as part of casting Contingency, expending spell slots for both, but the contingent spell doesn’t come into effect. Instead, it takes effect when a certain trigger occurs. You describe that trigger when you cast the two spells. For example, a Contingency cast with Water Breathing might stipulate that Water Breathing comes into effect when you are engulfed in water or a similar liquid.
The contingent spell takes effect immediately after the trigger occurs for the first time, whether or not you want it to, and then Contingency ends.
The contingent spell takes effect only on you, even if it can normally target others. You can use only one Contingency spell at a time. If you cast this spell again, the effect of another Contingency spell on you ends. Also, Contingency ends on you if its material component is ever not on your person.
SRD 5.2.1, page 119
World Seed notes: Contingency among level 6 spells
Among the 31 level 6 spells in SRD 5.2.1
Share
Contingency
Need Concentration
35%
No
Can be cast as a Ritual
6%
No
Need a Material component
71%
Yes
Casting time “10 minutes”
10%
Yes
School Abjuration
16%
Yes
Class lists
Contingency is on 1 class list in its description. How many level 6 spells each of those classes has in SRD 5.2.1:
Changes made: SRD 5.2.1 text was extracted from the official PDF and converted into structured data (fields such as size, type, Challenge Rating, XP and spell level were split out; line-break hyphenation was removed; tables were reformatted). Spell description reformatted; level, concentration, ritual, component and class-list comparisons added (computed from SRD data). Original rules text is reproduced as published. Commentary, tactics, encounter suggestions and other material marked “World Seed notes” are original to world.hueseed.com and are not part of the SRD.
World Seed is 5E compatible. More on sources and licences: Licences.