Using Violet Voltage (#A669DB) in Interface Design: Scale, Buttons and Dark Mode
A working design system from Violet Voltage #A669DB: a 50 to 950 scale, button states with contrast, a dark-mode version, an accessible link color and the CSS to paste in.
Violet Voltage (#A669DB) is a medium, vivid purple. As an interface color it has a clear personality: it is light enough that dark labels read better than white ones, which makes it better as a surface, a highlight or a data color than as a button. This guide shows how to build a working interface from it: a full scale, every button state, a dark-mode version, a link color that passes, and the CSS to paste in.
A scale built from Violet Voltage
A single color is not enough for an interface. You need lighter steps for surfaces and borders and darker steps for text and hover states. This 50 to 950 scale keeps the hue and saturation of Violet Voltage and moves only the lightness. The step closest to Violet Voltage keeps its exact value.
| Step | Hex | Contrast on white | Best text on it |
|---|---|---|---|
| 50 | #F9F4FF | 1.08:1 | #111111 |
| 100 | #F1E6FE | 1.20:1 | #111111 |
| 200 | #E5D0FC | 1.42:1 | #111111 |
| 300 | #D5ACFE | 1.88:1 | #111111 |
| 400 | #BB85ED | 2.73:1 | #111111 |
| 500 | #A669DB | 3.70:1 | #111111 |
| 600 | #884EB8 | 5.48:1 | #FFFFFF |
| 700 | #6E3C97 | 7.61:1 | #FFFFFF |
| 800 | #542B75 | 10.60:1 | #FFFFFF |
| 900 | #3E1E58 | 13.71:1 | #FFFFFF |
| 950 | #240D36 | 17.70:1 | #FFFFFF |
Button states
Interactive elements need to look different when you hover, press and disable them, and each state still has to be readable. These values are made from Violet Voltage itself, so the button stays in family.
| State | Background | Label | Label contrast |
|---|---|---|---|
| Default | #A669DB | #111111 | 5.09:1 |
| Hover | #9D63CF | #111111 | 4.60:1 |
| Pressed | #945DC4 | #FFFFFF | 4.54:1 |
| Disabled | #E3D6F2 | #6B7280 | 3.49:1 |
Disabled controls are exempt from WCAG contrast rules, but they still need to be recognizable, so the label is kept dark enough to read. For keyboard focus, use an outline of Violet Voltage (#A669DB), which reaches 3 to 1 against a white page, the minimum for interface parts.
Dark mode
On a near-black page (#0F1115), Violet Voltage reaches 5.09:1 (AA). That is enough to use it directly as text, a link or an icon in dark mode.
Links and text
Violet Voltage on white reaches only 3.70:1, which is not enough for text. For links and small headings use Amethyst (#975ACA), the closest shade that reaches 4.5 to 1, and keep Violet Voltage itself for fills and large display type.
Surfaces and borders
Tints of Violet Voltage make quiet surfaces that feel connected to the brand without competing with it. Snow (#FBF9FD) works as a card or page tint, and Bride (#EFE9F8) as a border or divider.
The CSS
:root {
--brand: #A669DB;
--brand-hover: #9D63CF;
--brand-active: #945DC4;
--on-brand: #111111;
--brand-surface: #FBF9FD;
--brand-border: #EFE9F8;
--brand-text: #975ACA;
--focus-ring: #A669DB;
}
@media (prefers-color-scheme: dark) {
:root {
--brand: #A669DB;
--brand-text: #A669DB;
}
}A short checklist
- Use Violet Voltage for the one action you most want people to take.
- Put #111111 text on it and check that the ratio stays above 4.5 to 1.
- Use the scale for hover, pressed, border and surface colors rather than inventing new ones.
- Define a separate dark-mode value and test it on a dark page.
- Never use the color as the only signal: add an icon, a label or an underline.