PreviewingGo to this paletteOpen in generator
Code
/* Jazz Purple — colorset.net */
:root {
--color-1: #4B0082;
--color-2: #8B008B;
--color-3: #DAA520;
--color-4: #CD853F;
--color-5: #A0522D;
--color-bg: #FDF6E8;
--color-surface: #F4EDDF;
--color-border: #DDD4C3;
--color-text: #402A5E;
--color-muted: #6F667E;
--color-primary: #8B008B;
--color-on-primary: #FFFFFF;
--color-accent: #AE8100;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #120B1C;
--color-surface: #1C1527;
--color-border: #31293F;
--color-text: #BEAC8B;
--color-muted: #8E8167;
--color-primary: #A92FA7;
--color-on-primary: #FFFFFF;
--color-accent: #DAA520;
--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 #DAA520 | adjusted for contrast · from #4B0082 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #4B0082 | adjusted for contrast · from #DAA520 |
| Muted text | derived | derived |
| Primary | from palette · color 2 | adjusted for contrast · from #8B008B |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #CD853F | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 11.41:1 | AAA pass 4.5:1 | |
| Text on surface | 10.54:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.03:1 | AA pass 4.5:1 | |
| Label on primary | 8.50:1 | AAA pass 4.5:1 | |
| Label on accent | 5.94:1 | AA pass 4.5:1 | |
| Primary on background | 7.90:1 | AAA pass 3:1 | |
| Accent on background | 3.29:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 8.68:1 | AAA pass 4.5:1 | |
| Text on surface | 7.98:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.03:1 | AA pass 4.5:1 | |
| Label on primary | 5.75:1 | AA pass 4.5:1 | |
| Label on accent | 8.61:1 | AAA pass 4.5:1 | |
| Primary on background | 3.35:1 | AA Large pass 3:1 | |
| Accent on background | 8.61: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 | #4B0082 (Text 1) | #8B008B (Text 2) | #DAA520 (Text 3) | #CD853F (Text 4) | #A0522D (Text 5) |
|---|---|---|---|---|---|
| #4B0082 | Same color | 1.52— | 5.79AA | 4.33AA Large | 2.31— |
| #8B008B | 1.52— | Same color | 3.80AA Large | 2.84— | 1.51— |
| #DAA520 | 5.79AA | 3.80AA Large | Same color | 1.34— | 2.51— |
| #CD853F | 4.33AA Large | 2.84— | 1.34— | Same color | 1.88— |
| #A0522D | 2.31— | 1.51— | 2.51— | 1.88— | Same color |
Shades
Shades and tints (50–950)
