PreviewingGo to this paletteOpen in generator
Code
/* Amethyst Geode — colorset.net */
:root {
--color-1: #6B3FA0;
--color-2: #8855B8;
--color-3: #A56BCF;
--color-4: #C281E7;
--color-5: #DF97FF;
--color-bg: #FBF4FF;
--color-surface: #F3EAF7;
--color-border: #DBD0E1;
--color-text: #594278;
--color-muted: #6F667F;
--color-primary: #8855B8;
--color-on-primary: #FFFFFF;
--color-accent: #6B3FA0;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #120B1C;
--color-surface: #1C1527;
--color-border: #31293F;
--color-text: #C5B0CF;
--color-muted: #8B7B93;
--color-primary: #8855B8;
--color-on-primary: #FFFFFF;
--color-accent: #DF97FF;
--color-on-accent: #120B1C;
}
}
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 #DF97FF | adjusted for contrast · from #6B3FA0 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #6B3FA0 | adjusted for contrast · from #DF97FF |
| Muted text | derived | derived |
| Primary | from palette · color 2 | from palette · color 2 |
| On primary | derived | derived |
| Accent | from palette · color 1 | from palette · color 5 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.87:1 | AAA pass 4.5:1 | |
| Text on surface | 7.24:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.02:1 | AA pass 4.5:1 | |
| Label on primary | 5.20:1 | AA pass 4.5:1 | |
| Label on accent | 7.38:1 | AAA pass 4.5:1 | |
| Primary on background | 4.83:1 | AA pass 3:1 | |
| Accent on background | 6.85:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 9.62:1 | AAA pass 4.5:1 | |
| Text on surface | 8.84:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.91:1 | AA pass 4.5:1 | |
| Label on primary | 5.20:1 | AA pass 4.5:1 | |
| Label on accent | 9.18:1 | AAA pass 4.5:1 | |
| Primary on background | 3.70:1 | AA Large pass 3:1 | |
| Accent on background | 9.18: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 | #6B3FA0 (Text 1) | #8855B8 (Text 2) | #A56BCF (Text 3) | #C281E7 (Text 4) | #DF97FF (Text 5) |
|---|---|---|---|---|---|
| #6B3FA0 | Same color | 1.42— | 1.97— | 2.67— | 3.52AA Large |
| #8855B8 | 1.42— | Same color | 1.39— | 1.88— | 2.48— |
| #A56BCF | 1.97— | 1.39— | Same color | 1.35— | 1.79— |
| #C281E7 | 2.67— | 1.88— | 1.35— | Same color | 1.32— |
| #DF97FF | 3.52AA Large | 2.48— | 1.79— | 1.32— | Same color |
Shades
Shades and tints (50–950)
