PreviewingGo to this paletteOpen in generator
Code
/* Ghost Shell — colorset.net */
:root {
--color-1: #0C1220;
--color-2: #8AB4FF;
--color-3: #FF7AC6;
--color-4: #1F2B44;
--color-5: #E8EEFA;
--color-bg: #E8EEFA;
--color-surface: #F2F5FC;
--color-border: #CED5E5;
--color-text: #0C1220;
--color-muted: #5C6577;
--color-primary: #C34391;
--color-on-primary: #FFFFFF;
--color-accent: #1F2B44;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0C1220;
--color-surface: #161C2B;
--color-border: #293144;
--color-text: #E8EEFA;
--color-muted: #838893;
--color-primary: #FF7AC6;
--color-on-primary: #0C1220;
--color-accent: #5B6986;
--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 | from palette · color 5 | from palette · color 1 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #FF7AC6 | from palette · color 3 |
| On primary | derived | derived |
| Accent | from palette · color 4 | adjusted for contrast · from #1F2B44 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.07:1 | AAA pass 4.5:1 | |
| Text on surface | 17.13:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.04:1 | AA pass 4.5:1 | |
| Label on primary | 4.63:1 | AA pass 4.5:1 | |
| Label on accent | 14.12:1 | AAA pass 4.5:1 | |
| Primary on background | 3.98:1 | AA Large pass 3:1 | |
| Accent on background | 12.13:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.07:1 | AAA pass 4.5:1 | |
| Text on surface | 14.61:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.26:1 | AA pass 4.5:1 | |
| Label on primary | 7.88:1 | AAA pass 4.5:1 | |
| Label on accent | 5.51:1 | AA pass 4.5:1 | |
| Primary on background | 7.88:1 | AAA pass 3:1 | |
| Accent on background | 3.39: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 | #0C1220 (Text 1) | #8AB4FF (Text 2) | #FF7AC6 (Text 3) | #1F2B44 (Text 4) | #E8EEFA (Text 5) |
|---|---|---|---|---|---|
| #0C1220 | Same color | 8.95AAA | 7.88AAA | 1.32— | 16.07AAA |
| #8AB4FF | 8.95AAA | Same color | 1.14— | 6.76AA | 1.79— |
| #FF7AC6 | 7.88AAA | 1.14— | Same color | 5.95AA | 2.04— |
| #1F2B44 | 1.32— | 6.76AA | 5.95AA | Same color | 12.13AAA |
| #E8EEFA | 16.07AAA | 1.79— | 2.04— | 12.13AAA | Same color |
Shades
Shades and tints (50–950)
