PreviewingGo to this paletteOpen in generator
Code
/* Violet Flame — colorset.net */
:root {
--color-1: #7F00FF;
--color-2: #8B00FF;
--color-3: #9400D3;
--color-4: #9F00FF;
--color-5: #B19CD9;
--color-bg: #F8F5FF;
--color-surface: #EFEBF9;
--color-border: #D7D2E3;
--color-text: #604276;
--color-muted: #73667E;
--color-primary: #9F00FF;
--color-on-primary: #FFFFFF;
--color-accent: #806CA5;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #140B1B;
--color-surface: #1E1526;
--color-border: #34283D;
--color-text: #ADA2C4;
--color-muted: #857D97;
--color-primary: #9F00FF;
--color-on-primary: #FFFFFF;
--color-accent: #C18CFF;
--color-on-accent: #140B1B;
}
}
Color values
| Color | HEX | RGB | HSL | OKLCH |
|---|---|---|---|---|
| 1 | ||||
| 2 | ||||
| 3 | ||||
| 4 | ||||
| 5 |
Roles & contrast
Original colors are kept; roles are adjusted only when needed for contrast.
| Role | Light mode | Dark mode |
|---|---|---|
| Background | adjusted for contrast · from #B19CD9 | adjusted for contrast · from #9400D3 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #9400D3 | adjusted for contrast · from #B19CD9 |
| Muted text | derived | derived |
| Primary | from palette · color 4 | from palette · color 4 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #B19CD9 | adjusted for contrast · from #B19CD9 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.68:1 | AAA pass 4.5:1 | |
| Text on surface | 7.06:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.96:1 | AA pass 4.5:1 | |
| Label on primary | 5.36:1 | AA pass 4.5:1 | |
| Label on accent | 4.56:1 | AA pass 4.5:1 | |
| Primary on background | 4.98:1 | AA pass 3:1 | |
| Accent on background | 4.23:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 8.00:1 | AAA pass 4.5:1 | |
| Text on surface | 7.34:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.92:1 | AA pass 4.5:1 | |
| Label on primary | 5.36:1 | AA pass 4.5:1 | |
| Label on accent | 7.74:1 | AAA pass 4.5:1 | |
| Primary on background | 3.58:1 | AA Large pass 3:1 | |
| Accent on background | 7.74:1 | AAA pass 3:1 |
Every color on every color
Rows are backgrounds and columns are text colors, using the actual palette colors. Ratios: AAA 7:1, AA 4.5:1, AA large text 3:1.
| Background / Text | #7F00FF (Text 1) | #8B00FF (Text 2) | #9400D3 (Text 3) | #9F00FF (Text 4) | #B19CD9 (Text 5) |
|---|---|---|---|---|---|
| #7F00FF | Same color | 1.06— | 1.05— | 1.17— | 2.58— |
| #8B00FF | 1.06— | Same color | 1.11— | 1.11— | 2.44— |
| #9400D3 | 1.05— | 1.11— | Same color | 1.22— | 2.70— |
| #9F00FF | 1.17— | 1.11— | 1.22— | Same color | 2.20— |
| #B19CD9 | 2.58— | 2.44— | 2.70— | 2.20— | Same color |
Shades
Shades and tints (50–950)
