PreviewingGo to this paletteOpen in generator
Code
/* Laser Light — colorset.net */
:root {
--color-1: #00D4FF;
--color-2: #5200FF;
--color-3: #FF0080;
--color-4: #80FF00;
--color-5: #FFFF00;
--color-bg: #F7F8E9;
--color-surface: #EEEFE0;
--color-border: #D5D7C4;
--color-text: #45487F;
--color-muted: #666982;
--color-primary: #5200FF;
--color-on-primary: #FFFFFF;
--color-accent: #797900;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0C0D1E;
--color-surface: #161829;
--color-border: #292C42;
--color-text: #F6F8D2;
--color-muted: #8B8C71;
--color-primary: #5B41FF;
--color-on-primary: #FFFFFF;
--color-accent: #FFFF00;
--color-on-accent: #0C0D1E;
}
}
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 #FFFF00 | adjusted for contrast · from #5200FF |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #5200FF | adjusted for contrast · from #FFFF00 |
| Muted text | derived | derived |
| Primary | from palette · color 2 | adjusted for contrast · from #5200FF |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #00D4FF | from palette · color 5 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.87:1 | AAA pass 4.5:1 | |
| Text on surface | 7.26:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.00:1 | AA pass 4.5:1 | |
| Label on primary | 7.49:1 | AAA pass 4.5:1 | |
| Label on accent | 4.62:1 | AA pass 4.5:1 | |
| Primary on background | 6.98:1 | AA pass 3:1 | |
| Accent on background | 4.30:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.65:1 | AAA pass 4.5:1 | |
| Text on surface | 16.11:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.57:1 | AA pass 4.5:1 | |
| Label on primary | 5.76:1 | AA pass 4.5:1 | |
| Label on accent | 17.91:1 | AAA pass 4.5:1 | |
| Primary on background | 3.34:1 | AA Large pass 3:1 | |
| Accent on background | 17.91: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 | #00D4FF (Text 1) | #5200FF (Text 2) | #FF0080 (Text 3) | #80FF00 (Text 4) | #FFFF00 (Text 5) |
|---|---|---|---|---|---|
| #00D4FF | Same color | 4.23AA Large | 2.13— | 1.37— | 1.65— |
| #5200FF | 4.23AA Large | Same color | 1.99— | 5.79AA | 6.98AA |
| #FF0080 | 2.13— | 1.99— | Same color | 2.92— | 3.51AA Large |
| #80FF00 | 1.37— | 5.79AA | 2.92— | Same color | 1.21— |
| #FFFF00 | 1.65— | 6.98AA | 3.51AA Large | 1.21— | Same color |
Shades
Shades and tints (50–950)
