PreviewingGo to this paletteOpen in generator
Code
/* Galaxy Pink — colorset.net */
:root {
--color-1: #FF1493;
--color-2: #DA70D6;
--color-3: #BA55D3;
--color-4: #9370DB;
--color-5: #8A2BE2;
--color-bg: #FFF2FE;
--color-surface: #F5E9F4;
--color-border: #DFCFDD;
--color-text: #5A447A;
--color-muted: #706780;
--color-primary: #E20081;
--color-on-primary: #FFFFFF;
--color-accent: #8A2BE2;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #120B1C;
--color-surface: #1C1527;
--color-border: #31293F;
--color-text: #B79BB5;
--color-muted: #917B8F;
--color-primary: #E20081;
--color-on-primary: #FFFFFF;
--color-accent: #8D30E5;
--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 #DA70D6 | adjusted for contrast · from #8A2BE2 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #8A2BE2 | adjusted for contrast · from #DA70D6 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #FF1493 | adjusted for contrast · from #FF1493 |
| On primary | derived | derived |
| Accent | from palette · color 5 | adjusted for contrast · from #8A2BE2 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.62:1 | AAA pass 4.5:1 | |
| Text on surface | 7.02:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.92:1 | AA pass 4.5:1 | |
| Label on primary | 4.61:1 | AA pass 4.5:1 | |
| Label on accent | 5.96:1 | AA pass 4.5:1 | |
| Primary on background | 4.26:1 | AA Large pass 3:1 | |
| Accent on background | 5.50:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.68:1 | AAA pass 4.5:1 | |
| Text on surface | 7.06:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.98:1 | AA pass 4.5:1 | |
| Label on primary | 4.61:1 | AA pass 4.5:1 | |
| Label on accent | 5.70:1 | AA pass 4.5:1 | |
| Primary on background | 4.17:1 | AA Large 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 | #FF1493 (Text 1) | #DA70D6 (Text 2) | #BA55D3 (Text 3) | #9370DB (Text 4) | #8A2BE2 (Text 5) |
|---|---|---|---|---|---|
| #FF1493 | Same color | 1.26— | 1.08— | 1.03— | 1.64— |
| #DA70D6 | 1.26— | Same color | 1.36— | 1.30— | 2.06— |
| #BA55D3 | 1.08— | 1.36— | Same color | 1.05— | 1.51— |
| #9370DB | 1.03— | 1.30— | 1.05— | Same color | 1.58— |
| #8A2BE2 | 1.64— | 2.06— | 1.51— | 1.58— | Same color |
Shades
Shades and tints (50–950)
