Color Contrast Matrix
Check color combinations from variables against WCAG standards.
Plugin Preview
About this plugin
Generate WCAG contrast ratio matrices from your color variables.What it doesCreates a grid showing contrast ratios between background and foreground color combinations. Each cell displays the ratio and WCAG compliance level (AAA, AA, AA Large, or DNP).FeaturesVariable mode support - Select light/dark mode when collections have multiple modesSettings persistence - Display preferences and base color save automaticallyWCAG compliance levels - AAA, AA, AA Large, and DNP indicatorsFlexible grid options - Same colors for both axes or distinct rows/columnsUsageRun the plugin (requires color variables in your file)If your collections have multiple modes (e.g., light/dark), select which mode to useSelect which color groups to include as backgroundsOptionally enable "Distinct rows and columns" to use different groups for foreground colorsClick "Generate matrix"SettingsClick the gear icon to configure:Display options - Which compliance levels to show (AAA, AA, AA Large, DNP)Show full name - Display full variable paths instead of shortened namesBase color - Background color for alpha blending calculations (default: #FFFFFF)Settings persist automatically across sessions.WCAG Compliance LevelsAAA - Contrast ≥ 7:1AA - Contrast ≥ 4.5:1AA Large - Contrast ≥ 3:1 (for large text)DNP - Does not pass (< 3:1)RequirementsColor variables organized in groups (e.g., brand/primary, neutral/gray-500)
Plugin Details
| Version | 8 |
|---|---|
| Created | September 21, 2024 |
| Last Updated | May 30, 2026 |
| Category | Accessibility tools |
| Creator | marius |
| Stats | 1 installs, 0 likes |
| Pricing | Free |
Technical Details
- API:1.0.0
- UI:index.html
- main:code.js
- Document Access:dynamic-page
- Editor Types:figma
- Allowed Domains:
- none
More Like This
Discover other plugins in the Accessibility tools category.