PreviewingGo to this paletteOpen in generator
Code
/* Amethyst Soiree — colorset.net */
:root {
--color-1: #1B1A1F;
--color-2: #E2C9A0;
--color-3: #8E6FB0;
--color-4: #37353D;
--color-5: #F5F1EA;
--color-bg: #F5F1EA;
--color-surface: #FBF9F4;
--color-border: #DED8CE;
--color-text: #1B1A1F;
--color-muted: #6C6B71;
--color-primary: #8869AA;
--color-on-primary: #FFFFFF;
--color-accent: #9F8761;
--color-on-accent: #1B1A1F;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1B1A1F;
--color-surface: #26252A;
--color-border: #3B3942;
--color-text: #F5F1EA;
--color-muted: #928E88;
--color-primary: #8869AA;
--color-on-primary: #FFFFFF;
--color-accent: #E2C9A0;
--color-on-accent: #1B1A1F;
}
}
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 | from palette · color 5 | from palette · color 1 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #8E6FB0 | adjusted for contrast · from #8E6FB0 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #8E6FB0 | from palette · color 2 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.36:1 | AAA pass 4.5:1 | |
| Text on surface | 16.44:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.69:1 | AA pass 4.5:1 | |
| Label on primary | 4.52:1 | AA pass 4.5:1 | |
| Label on accent | 5.03:1 | AA pass 4.5:1 | |
| Primary on background | 4.01:1 | AA Large pass 3:1 | |
| Accent on background | 3.05:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.36:1 | AAA pass 4.5:1 | |
| Text on surface | 13.51:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.31:1 | AA pass 4.5:1 | |
| Label on primary | 4.52:1 | AA pass 4.5:1 | |
| Label on accent | 10.79:1 | AAA pass 4.5:1 | |
| Primary on background | 3.83:1 | AA Large pass 3:1 | |
| Accent on background | 10.79: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 | #1B1A1F (Text 1) | #E2C9A0 (Text 2) | #8E6FB0 (Text 3) | #37353D (Text 4) | #F5F1EA (Text 5) |
|---|---|---|---|---|---|
| #1B1A1F | Same color | 10.79AAA | 4.16AA Large | 1.43— | 15.36AAA |
| #E2C9A0 | 10.79AAA | Same color | 2.59— | 7.53AAA | 1.42— |
| #8E6FB0 | 4.16AA Large | 2.59— | Same color | 2.90— | 3.69AA Large |
| #37353D | 1.43— | 7.53AAA | 2.90— | Same color | 10.73AAA |
| #F5F1EA | 15.36AAA | 1.42— | 3.69AA Large | 10.73AAA | Same color |
Shades
Shades and tints (50–950)
