PreviewingGo to this paletteOpen in generator
Code
/* Amethyst Light — colorset.net */
:root {
--color-1: #9966CC;
--color-2: #A87AD6;
--color-3: #B78EE0;
--color-4: #C6A2EA;
--color-5: #D5B6F4;
--color-bg: #F9F4FF;
--color-surface: #F1EAF8;
--color-border: #D9D1E2;
--color-text: #5B4176;
--color-muted: #70657E;
--color-primary: #905DC2;
--color-on-primary: #FFFFFF;
--color-accent: #876AA3;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #130B1B;
--color-surface: #1D1526;
--color-border: #33293E;
--color-text: #CEBDDF;
--color-muted: #897D96;
--color-primary: #905DC2;
--color-on-primary: #FFFFFF;
--color-accent: #C6A2EA;
--color-on-accent: #130B1B;
}
}
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 #D5B6F4 | adjusted for contrast · from #9966CC |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #9966CC | adjusted for contrast · from #D5B6F4 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #9966CC | adjusted for contrast · from #9966CC |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #9966CC | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.88:1 | AAA pass 4.5:1 | |
| Text on surface | 7.25:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.04:1 | AA pass 4.5:1 | |
| Label on primary | 4.64:1 | AA pass 4.5:1 | |
| Label on accent | 4.54:1 | AA pass 4.5:1 | |
| Primary on background | 4.28:1 | AA Large pass 3:1 | |
| Accent on background | 4.20:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 10.97:1 | AAA pass 4.5:1 | |
| Text on surface | 10.08:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.98:1 | AA pass 4.5:1 | |
| Label on primary | 4.64:1 | AA pass 4.5:1 | |
| Label on accent | 8.94:1 | AAA pass 4.5:1 | |
| Primary on background | 4.15:1 | AA Large pass 3:1 | |
| Accent on background | 8.94: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 | #9966CC (Text 1) | #A87AD6 (Text 2) | #B78EE0 (Text 3) | #C6A2EA (Text 4) | #D5B6F4 (Text 5) |
|---|---|---|---|---|---|
| #9966CC | Same color | 1.25— | 1.55— | 1.90— | 2.31— |
| #A87AD6 | 1.25— | Same color | 1.24— | 1.52— | 1.84— |
| #B78EE0 | 1.55— | 1.24— | Same color | 1.23— | 1.49— |
| #C6A2EA | 1.90— | 1.52— | 1.23— | Same color | 1.21— |
| #D5B6F4 | 2.31— | 1.84— | 1.49— | 1.21— | Same color |
Shades
Shades and tints (50–950)
