Blueviolet Color Palette
Blueviolet Color Palette built around #8A2BE2, a dark cool purple anchor (WCAG contrast 3.52:1 against black). The set combines a light tint + a deep shade + a softened complement + a neutral ground so any palette position has a text-safe pairing.
Semantic roles
Assigned deterministically: lightest = background, darkest = text, most saturated = primary.
| background | #E1B1FF | |
| surface | #85B954 | |
| text | #4D088A | |
| text-muted | #8A2BE2 | |
| primary | #8A2BE2 | |
| secondary | #85B954 | |
| accent | #9945E6 |
CSS variables
:root {
--background: #e1b1ff;
--surface: #85b954;
--text: #4d088a;
--text-muted: #8a2be2;
--primary: #8a2be2;
--secondary: #85b954;
--accent: #9945e6;
}Accessibility matrix
Text color (rows) on background (columns). Green = WCAG AA pass for normal text (≥4.5:1).
| Text \ BG | #8A2BE2 | #E1B1FF | #4D088A | #85B954 | #9945E6 |
|---|---|---|---|---|---|
| #8A2BE2 | 1.0 | 3.4 | 2.0 | 2.6 | 1.2 |
| #E1B1FF | 3.4 | 1.0 | 7.0 | 1.3 | 2.7 |
| #4D088A | 2.0 | 7.0 | 1.0 | 5.3 | 2.5 |
| #85B954 | 2.6 | 1.3 | 5.3 | 1.0 | 2.1 |
| #9945E6 | 1.2 | 2.7 | 2.5 | 2.1 | 1.0 |
Under deuteranopia
Machado et al. (2009) simulation, severity 1.0 — approximation, not a medical tool.
Colors in this palette
Similar palettes
FAQ
How do I use the blueviolet color palette in CSS?
Copy the CSS variables below into :root and use var(--primary), var(--background) etc. Full palette: #8A2BE2, #E1B1FF, #4D088A, #85B954, #9945E6.
Do these colors pass accessibility checks?
See the WCAG matrix on this page: every text-on-background pairing with ratio ≥ 4.5 passes AA for normal text; ≥ 3 passes AA for large text and UI components.