PreviewingGo to this paletteOpen in generator
Code
/* Amethyst Deep — colorset.net */
:root {
--color-1: #663399;
--color-2: #8A2BE2;
--color-3: #9370DB;
--color-4: #BA55D3;
--color-5: #DDA0DD;
--color-bg: #FEF2FE;
--color-surface: #F5E9F5;
--color-border: #DECFDE;
--color-text: #5A4278;
--color-muted: #70667F;
--color-primary: #8A2BE2;
--color-on-primary: #FFFFFF;
--color-accent: #99609A;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #130B1C;
--color-surface: #1D1527;
--color-border: #32293E;
--color-text: #CAAECA;
--color-muted: #927D92;
--color-primary: #8D30E5;
--color-on-primary: #FFFFFF;
--color-accent: #DDA0DD;
--color-on-accent: #130B1C;
}
}
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 #DDA0DD | adjusted for contrast · from #663399 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #663399 | adjusted for contrast · from #DDA0DD |
| Muted text | derived | derived |
| Primary | from palette · color 2 | adjusted for contrast · from #8A2BE2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #9370DB | from palette · color 5 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.78:1 | AAA pass 4.5:1 | |
| Text on surface | 7.19:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.97:1 | AA pass 4.5:1 | |
| Label on primary | 5.96:1 | AA pass 4.5:1 | |
| Label on accent | 4.67:1 | AA pass 4.5:1 | |
| Primary on background | 5.49:1 | AA pass 3:1 | |
| Accent on background | 4.30:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 9.54:1 | AAA pass 4.5:1 | |
| Text on surface | 8.76:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.10:1 | AA pass 4.5:1 | |
| Label on primary | 5.70:1 | AA pass 4.5:1 | |
| Label on accent | 9.29:1 | AAA pass 4.5:1 | |
| Primary on background | 3.38:1 | AA Large pass 3:1 | |
| Accent on background | 9.29: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 | #663399 (Text 1) | #8A2BE2 (Text 2) | #9370DB (Text 3) | #BA55D3 (Text 4) | #DDA0DD (Text 5) |
|---|---|---|---|---|---|
| #663399 | Same color | 1.41— | 2.23— | 2.13— | 4.06AA Large |
| #8A2BE2 | 1.41— | Same color | 1.58— | 1.51— | 2.88— |
| #9370DB | 2.23— | 1.58— | Same color | 1.05— | 1.82— |
| #BA55D3 | 2.13— | 1.51— | 1.05— | Same color | 1.90— |
| #DDA0DD | 4.06AA Large | 2.88— | 1.82— | 1.90— | Same color |
Shades
Shades and tints (50–950)
