PreviewingGo to this paletteOpen in generator
Code
/* Blue Purple — colorset.net */
:root {
--color-1: #9370DB;
--color-2: #8A2BE2;
--color-3: #7B68EE;
--color-4: #6495ED;
--color-5: #87CEEB;
--color-bg: #ECF9FF;
--color-surface: #E0F1F8;
--color-border: #C4D9E2;
--color-text: #5A447A;
--color-muted: #706780;
--color-primary: #8A2BE2;
--color-on-primary: #FFFFFF;
--color-accent: #4B92AD;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #120B1C;
--color-surface: #1C1527;
--color-border: #31293F;
--color-text: #A1CADB;
--color-muted: #688794;
--color-primary: #8D30E5;
--color-on-primary: #FFFFFF;
--color-accent: #6495ED;
--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 #87CEEB | adjusted for contrast · from #8A2BE2 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #8A2BE2 | adjusted for contrast · from #87CEEB |
| Muted text | derived | derived |
| Primary | from palette · color 2 | adjusted for contrast · from #8A2BE2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #6495ED | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.69:1 | AAA pass 4.5:1 | |
| Text on surface | 7.12:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.96:1 | AA pass 4.5:1 | |
| Label on primary | 5.96:1 | AA pass 4.5:1 | |
| Label on accent | 6.01:1 | AA pass 4.5:1 | |
| Primary on background | 5.55:1 | AA pass 3:1 | |
| Accent on background | 3.25:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 10.99:1 | AAA pass 4.5:1 | |
| Text on surface | 10.11:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.03:1 | AA pass 4.5:1 | |
| Label on primary | 5.70:1 | AA pass 4.5:1 | |
| Label on accent | 6.48:1 | AA pass 4.5:1 | |
| Primary on background | 3.38:1 | AA Large pass 3:1 | |
| Accent on background | 6.48:1 | AA 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 | #9370DB (Text 1) | #8A2BE2 (Text 2) | #7B68EE (Text 3) | #6495ED (Text 4) | #87CEEB (Text 5) |
|---|---|---|---|---|---|
| #9370DB | Same color | 1.58— | 1.10— | 1.27— | 2.16— |
| #8A2BE2 | 1.58— | Same color | 1.43— | 2.00— | 3.42AA Large |
| #7B68EE | 1.10— | 1.43— | Same color | 1.40— | 2.38— |
| #6495ED | 1.27— | 2.00— | 1.40— | Same color | 1.71— |
| #87CEEB | 2.16— | 3.42AA Large | 2.38— | 1.71— | Same color |
Shades
Shades and tints (50–950)
