PreviewingGo to this paletteOpen in generator
Code
/* Pulsar — colorset.net */
:root {
--color-1: #0C0C1C;
--color-2: #00D1FF;
--color-3: #FFB86B;
--color-4: #24244A;
--color-5: #ECEBFF;
--color-bg: #ECEBFF;
--color-surface: #F4F3FF;
--color-border: #D3D2E9;
--color-text: #0C0C1C;
--color-muted: #5E5F74;
--color-primary: #00819E;
--color-on-primary: #FFFFFF;
--color-accent: #A96707;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0C0C1C;
--color-surface: #161627;
--color-border: #292A3F;
--color-text: #ECEBFF;
--color-muted: #848395;
--color-primary: #00D1FF;
--color-on-primary: #0C0C1C;
--color-accent: #FFB86B;
--color-on-accent: #0C0C1C;
}
}
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 #00D1FF | from palette · color 2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #FFB86B | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.49:1 | AAA pass 4.5:1 | |
| Text on surface | 17.61:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.32:1 | AA pass 4.5:1 | |
| Label on primary | 4.53:1 | AA pass 4.5:1 | |
| Label on accent | 4.54:1 | AA pass 4.5:1 | |
| Primary on background | 3.86:1 | AA Large pass 3:1 | |
| Accent on background | 3.86:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.49:1 | AAA pass 4.5:1 | |
| Text on surface | 15.19:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.22:1 | AA pass 4.5:1 | |
| Label on primary | 10.66:1 | AAA pass 4.5:1 | |
| Label on accent | 11.36:1 | AAA pass 4.5:1 | |
| Primary on background | 10.66:1 | AAA pass 3:1 | |
| Accent on background | 11.36:1 | AAA 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 | #0C0C1C (Text 1) | #00D1FF (Text 2) | #FFB86B (Text 3) | #24244A (Text 4) | #ECEBFF (Text 5) |
|---|---|---|---|---|---|
| #0C0C1C | Same color | 10.66AAA | 11.36AAA | 1.31— | 16.49AAA |
| #00D1FF | 10.66AAA | Same color | 1.07— | 8.11AAA | 1.55— |
| #FFB86B | 11.36AAA | 1.07— | Same color | 8.64AAA | 1.45— |
| #24244A | 1.31— | 8.11AAA | 8.64AAA | Same color | 12.55AAA |
| #ECEBFF | 16.49AAA | 1.55— | 1.45— | 12.55AAA | Same color |
Shades
Shades and tints (50–950)
