PreviewingGo to this paletteOpen in generator
Code
/* Azure Purple — colorset.net */
:root {
--color-1: #0000FF;
--color-2: #8000FF;
--color-3: #FF00FF;
--color-4: #FF0080;
--color-5: #8080FF;
--color-bg: #FFF2FE;
--color-surface: #F5E9F4;
--color-border: #DFCFDD;
--color-text: #344C7F;
--color-muted: #5E6A82;
--color-primary: #D000D0;
--color-on-primary: #FFFFFF;
--color-accent: #0000FF;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #080F1F;
--color-surface: #11192A;
--color-border: #242E42;
--color-text: #BA9EB8;
--color-muted: #937D91;
--color-primary: #FF00FF;
--color-on-primary: #080F1F;
--color-accent: #1653FF;
--color-on-accent: #FFFFFF;
}
}
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 #8080FF | adjusted for contrast · from #0000FF |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #0000FF | adjusted for contrast · from #8080FF |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #FF00FF | from palette · color 3 |
| On primary | derived | derived |
| Accent | from palette · color 1 | adjusted for contrast · from #0000FF |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.80:1 | AAA pass 4.5:1 | |
| Text on surface | 7.18:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.02:1 | AA pass 4.5:1 | |
| Label on primary | 4.57:1 | AA pass 4.5:1 | |
| Label on accent | 8.59:1 | AAA pass 4.5:1 | |
| Primary on background | 4.22:1 | AA Large pass 3:1 | |
| Accent on background | 7.93:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.89:1 | AAA pass 4.5:1 | |
| Text on surface | 7.25:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.08:1 | AA pass 4.5:1 | |
| Label on primary | 6.10:1 | AA pass 4.5:1 | |
| Label on accent | 5.65:1 | AA pass 4.5:1 | |
| Primary on background | 6.10:1 | AA pass 3:1 | |
| Accent on background | 3.38:1 | AA Large 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 | #0000FF (Text 1) | #8000FF (Text 2) | #FF00FF (Text 3) | #FF0080 (Text 4) | #8080FF (Text 5) |
|---|---|---|---|---|---|
| #0000FF | Same color | 1.38— | 2.74— | 2.28— | 2.64— |
| #8000FF | 1.38— | Same color | 1.99— | 1.65— | 1.92— |
| #FF00FF | 2.74— | 1.99— | Same color | 1.20— | 1.04— |
| #FF0080 | 2.28— | 1.65— | 1.20— | Same color | 1.16— |
| #8080FF | 2.64— | 1.92— | 1.04— | 1.16— | Same color |
Shades
Shades and tints (50–950)
