PreviewingGo to this paletteOpen in generator
Code
/* Amethyst Glow — colorset.net */
:root {
--color-1: #330066;
--color-2: #4D0099;
--color-3: #6600CC;
--color-4: #7F33D9;
--color-5: #9966FF;
--color-bg: #F7F5FF;
--color-surface: #EEEBFA;
--color-border: #D6D2E4;
--color-text: #2D1B4E;
--color-muted: #6E6780;
--color-primary: #7F33D9;
--color-on-primary: #FFFFFF;
--color-accent: #330066;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #110C1D;
--color-surface: #1B1628;
--color-border: #302A40;
--color-text: #A69FC1;
--color-muted: #847E99;
--color-primary: #853BE0;
--color-on-primary: #FFFFFF;
--color-accent: #7553B5;
--color-on-accent: #FFFFFF;
}
}
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 #9966FF | adjusted for contrast · from #330066 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #330066 | adjusted for contrast · from #9966FF |
| Muted text | derived | derived |
| Primary | from palette · color 4 | adjusted for contrast · from #7F33D9 |
| On primary | derived | derived |
| Accent | from palette · color 1 | adjusted for contrast · from #7F33D9 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.12:1 | AAA pass 4.5:1 | |
| Text on surface | 12.99:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.97:1 | AA pass 4.5:1 | |
| Label on primary | 6.22:1 | AA pass 4.5:1 | |
| Label on accent | 15.76:1 | AAA pass 4.5:1 | |
| Primary on background | 5.76:1 | AA pass 3:1 | |
| Accent on background | 14.60:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.63:1 | AAA pass 4.5:1 | |
| Text on surface | 7.01:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.96:1 | AA pass 4.5:1 | |
| Label on primary | 5.68:1 | AA pass 4.5:1 | |
| Label on accent | 5.74:1 | AA pass 4.5:1 | |
| Primary on background | 3.38:1 | AA Large pass 3:1 | |
| Accent on background | 3.35:1 | AA Large 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 | #330066 (Text 1) | #4D0099 (Text 2) | #6600CC (Text 3) | #7F33D9 (Text 4) | #9966FF (Text 5) |
|---|---|---|---|---|---|
| #330066 | Same color | 1.33— | 1.83— | 2.53— | 4.28AA Large |
| #4D0099 | 1.33— | Same color | 1.37— | 1.90— | 3.21AA Large |
| #6600CC | 1.83— | 1.37— | Same color | 1.39— | 2.34— |
| #7F33D9 | 2.53— | 1.90— | 1.39— | Same color | 1.69— |
| #9966FF | 4.28AA Large | 3.21AA Large | 2.34— | 1.69— | Same color |
Shades
Shades and tints (50–950)
