Skip to main content
Color Accessibility Audit
Current Color Palette
Light Mode
- Primary: #8b5cf6 (Purple)
- Primary Dark: #7c3aed (Darker Purple)
- Secondary: #64748b (Blue-gray)
- Accent: #06b6d4 (Cyan)
- Text: #1f2937 (Dark gray)
- Text Light: #6b7280 (Medium gray)
- Background: #ffffff (White)
- Surface: #faf5ff (Very light purple)
- Border: #e5e7eb (Light gray)
- Border Light: #f3f4f6 (Very light gray)
- Purple Light: #f3e8ff (Light purple background)
- Cyan Light: #ecfeff (Light cyan background)
Dark Mode
- Text: #f9fafb (Very light gray)
- Text Light: #d1d5db (Light gray)
- Background: #111827 (Very dark blue-gray)
- Surface: #1f2937 (Dark blue-gray)
- Border: #374151 (Medium dark gray)
- Border Light: #2d3748 (Dark gray)
Contrast Ratio Analysis (WCAG 2.1)
Critical Text Combinations (Light Mode)
- Primary text (#1f2937) on Background (#ffffff)
- Contrast Ratio: ~16.9:1 ✅ WCAG AAA (excellent)
- Text Light (#6b7280) on Background (#ffffff)
- Contrast Ratio: ~7.0:1 ✅ WCAG AAA (excellent)
- Primary (#8b5cf6) on Background (#ffffff)
- Contrast Ratio: ~4.9:1 ✅ WCAG AA (good for normal text)
- ⚠️ May not meet AAA standard for small text
- Text (#1f2937) on Surface (#faf5ff)
- Contrast Ratio: ~16.5:1 ✅ WCAG AAA (excellent)
Critical Text Combinations (Dark Mode)
- Text (#f9fafb) on Background (#111827)
- Contrast Ratio: ~15.8:1 ✅ WCAG AAA (excellent)
- Text Light (#d1d5db) on Background (#111827)
- Contrast Ratio: ~9.8:1 ✅ WCAG AAA (excellent)
Color Blindness Analysis
Deuteranopia (Red-Green Color Blindness - most common)
- Issue: Purple (#8b5cf6) and Cyan (#06b6d4) may appear similar
- Impact: Gradient text effect uses both colors
- Severity: Medium - affects brand colors but text remains readable
Protanopia (Red-Green Color Blindness)
- Issue: Similar to Deuteranopia but less severe
- Impact: Purple may appear more blue-ish
- Severity: Low-Medium
Tritanopia (Blue-Yellow Color Blindness - rare)
- Issue: Purple and cyan distinction may be reduced
- Impact: Minimal - good contrast maintained
- Severity: Low
Recommendations
High Priority Fixes
- Add pattern/texture differentiation for color-coded elements
- Ensure interactive elements don’t rely solely on color
- Test gradient text readability across color vision types
Medium Priority Improvements
- Consider adding higher contrast alternatives for primary colors
- Implement focus indicators that don’t rely on color alone
- Add aria-labels for color-coded information
Low Priority Enhancements
- Provide a high contrast mode option
- Consider alternative visual cues for hover states
- Test with color blindness simulation tools
Overall Assessment
- Text Readability: ✅ Excellent
- Color Contrast: ✅ Good (meets WCAG AA)
- Color Blindness: ⚠️ Some issues with brand color distinction
- Overall Score: B+ (Good with room for improvement)