PreviewingGo to this paletteOpen in generator
Code
/* Galaxy Mix — colorset.net */
:root {
--color-1: #FF3CAC;
--color-2: #784BA0;
--color-3: #2B86AB;
--color-4: #A8E6CF;
--color-5: #FFD3A5;
--color-bg: #FFF5EB;
--color-surface: #F7EBE0;
--color-border: #E0D2C4;
--color-text: #5D4277;
--color-muted: #72667E;
--color-primary: #DE0190;
--color-on-primary: #FFFFFF;
--color-accent: #1E7DA2;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #130B1B;
--color-surface: #1E1526;
--color-border: #33283E;
--color-text: #F3D6B9;
--color-muted: #947F6A;
--color-primary: #FF3CAC;
--color-on-primary: #130B1B;
--color-accent: #1E7DA2;
--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 #FFD3A5 | adjusted for contrast · from #784BA0 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #784BA0 | adjusted for contrast · from #FFD3A5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #FF3CAC | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #2B86AB | adjusted for contrast · from #2B86AB |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.77:1 | AAA pass 4.5:1 | |
| Text on surface | 7.13:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.98:1 | AA pass 4.5:1 | |
| Label on primary | 4.65:1 | AA pass 4.5:1 | |
| Label on accent | 4.66:1 | AA pass 4.5:1 | |
| Primary on background | 4.32:1 | AA Large pass 3:1 | |
| Accent on background | 4.33:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.86:1 | AAA pass 4.5:1 | |
| Text on surface | 12.71:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.04:1 | AA pass 4.5:1 | |
| Label on primary | 5.95:1 | AA pass 4.5:1 | |
| Label on accent | 4.66:1 | AA pass 4.5:1 | |
| Primary on background | 5.95:1 | AA pass 3:1 | |
| Accent on background | 4.13: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 | #FF3CAC (Text 1) | #784BA0 (Text 2) | #2B86AB (Text 3) | #A8E6CF (Text 4) | #FFD3A5 (Text 5) |
|---|---|---|---|---|---|
| #FF3CAC | Same color | 1.96— | 1.27— | 2.29— | 2.33— |
| #784BA0 | 1.96— | Same color | 1.54— | 4.49AA Large | 4.56AA |
| #2B86AB | 1.27— | 1.54— | Same color | 2.92— | 2.96— |
| #A8E6CF | 2.29— | 4.49AA Large | 2.92— | Same color | 1.02— |
| #FFD3A5 | 2.33— | 4.56AA | 2.96— | 1.02— | Same color |
Shades
Shades and tints (50–950)
