PreviewingGo to this paletteOpen in generator
Code
/* Amethyst Scepter — colorset.net */
:root {
--color-1: #4B0082;
--color-2: #6A0DAD;
--color-3: #9966CC;
--color-4: #9B59B6;
--color-5: #C39BD3;
--color-bg: #FCF3FF;
--color-surface: #F3EAF7;
--color-border: #DCD0E0;
--color-text: #402A5E;
--color-muted: #6F667E;
--color-primary: #6A0DAD;
--color-on-primary: #FFFFFF;
--color-accent: #8E689D;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #120B1C;
--color-surface: #1C1527;
--color-border: #31293F;
--color-text: #B9A3C2;
--color-muted: #8E7D95;
--color-primary: #8A3ED2;
--color-on-primary: #FFFFFF;
--color-accent: #905DC2;
--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 #C39BD3 | adjusted for contrast · from #4B0082 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #4B0082 | adjusted for contrast · from #C39BD3 |
| Muted text | derived | derived |
| Primary | from palette · color 2 | adjusted for contrast · from #9B59B6 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #9B59B6 | adjusted for contrast · from #9B59B6 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 11.34:1 | AAA pass 4.5:1 | |
| Text on surface | 10.48:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.00:1 | AA pass 4.5:1 | |
| Label on primary | 9.24:1 | AAA pass 4.5:1 | |
| Label on accent | 4.55:1 | AA pass 4.5:1 | |
| Primary on background | 8.53:1 | AAA pass 3:1 | |
| Accent on background | 4.20:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 8.33:1 | AAA pass 4.5:1 | |
| Text on surface | 7.66:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.06:1 | AA pass 4.5:1 | |
| Label on primary | 5.68:1 | AA pass 4.5:1 | |
| Label on accent | 4.64:1 | AA pass 4.5:1 | |
| Primary on background | 3.39:1 | AA Large pass 3:1 | |
| Accent on background | 4.16: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 | #4B0082 (Text 1) | #6A0DAD (Text 2) | #9966CC (Text 3) | #9B59B6 (Text 4) | #C39BD3 (Text 5) |
|---|---|---|---|---|---|
| #4B0082 | Same color | 1.40— | 3.16AA Large | 2.77— | 5.52AA |
| #6A0DAD | 1.40— | Same color | 2.25— | 1.98— | 3.94AA Large |
| #9966CC | 3.16AA Large | 2.25— | Same color | 1.14— | 1.75— |
| #9B59B6 | 2.77— | 1.98— | 1.14— | Same color | 1.99— |
| #C39BD3 | 5.52AA | 3.94AA Large | 1.75— | 1.99— | Same color |
Shades
Shades and tints (50–950)
