PreviewingGo to this paletteOpen in generator
Code
/* Laser Grid — colorset.net */
:root {
--color-1: #0D1028;
--color-2: #39D3F2;
--color-3: #E040FB;
--color-4: #252B5C;
--color-5: #EAF2FF;
--color-bg: #EAF2FF;
--color-surface: #F5F9FF;
--color-border: #D0D9E9;
--color-text: #0D1028;
--color-muted: #5F657E;
--color-primary: #DD3CF8;
--color-on-primary: #0D1028;
--color-accent: #0097B0;
--color-on-accent: #0D1028;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0D1028;
--color-surface: #171B34;
--color-border: #2C3046;
--color-text: #EAF2FF;
--color-muted: #848B97;
--color-primary: #E040FB;
--color-on-primary: #0D1028;
--color-accent: #39D3F2;
--color-on-accent: #0D1028;
}
}
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 #E040FB | from palette · color 3 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #39D3F2 | from palette · color 2 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.62:1 | AAA pass 4.5:1 | |
| Text on surface | 17.72:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.11:1 | AA pass 4.5:1 | |
| Label on primary | 5.42:1 | AA pass 4.5:1 | |
| Label on accent | 5.40:1 | AA pass 4.5:1 | |
| Primary on background | 3.07:1 | AA Large pass 3:1 | |
| Accent on background | 3.08:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.62:1 | AAA pass 4.5:1 | |
| Text on surface | 15.00:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.46:1 | AA pass 4.5:1 | |
| Label on primary | 5.61:1 | AA pass 4.5:1 | |
| Label on accent | 10.49:1 | AAA pass 4.5:1 | |
| Primary on background | 5.61:1 | AA pass 3:1 | |
| Accent on background | 10.49: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 | #0D1028 (Text 1) | #39D3F2 (Text 2) | #E040FB (Text 3) | #252B5C (Text 4) | #EAF2FF (Text 5) |
|---|---|---|---|---|---|
| #0D1028 | Same color | 10.49AAA | 5.61AA | 1.41— | 16.62AAA |
| #39D3F2 | 10.49AAA | Same color | 1.87— | 7.46AAA | 1.58— |
| #E040FB | 5.61AA | 1.87— | Same color | 3.99AA Large | 2.96— |
| #252B5C | 1.41— | 7.46AAA | 3.99AA Large | Same color | 11.81AAA |
| #EAF2FF | 16.62AAA | 1.58— | 2.96— | 11.81AAA | Same color |
Shades
Shades and tints (50–950)
