PreviewingGo to this paletteOpen in generator
Code
/* Highlighter Pack — colorset.net */
:root {
--color-1: #FF0080;
--color-2: #00FFFF;
--color-3: #FFFF00;
--color-4: #FF4081;
--color-5: #00E676;
--color-bg: #F7F8E9;
--color-surface: #EEEFE0;
--color-border: #D5D7C4;
--color-text: #793A4D;
--color-muted: #81636A;
--color-primary: #E50072;
--color-on-primary: #FFFFFF;
--color-accent: #008843;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1C080E;
--color-surface: #271218;
--color-border: #3F252C;
--color-text: #F6F8D2;
--color-muted: #8B8C71;
--color-primary: #E50072;
--color-on-primary: #FFFFFF;
--color-accent: #00E676;
--color-on-accent: #1C080E;
}
}
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 #00FFFF | adjusted for contrast · from #FF0080 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #FF0080 | adjusted for contrast · from #FFFF00 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #FF0080 | adjusted for contrast · from #FF0080 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #00E676 | from palette · color 5 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.74:1 | AAA pass 4.5:1 | |
| Text on surface | 7.15:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.98:1 | AA pass 4.5:1 | |
| Label on primary | 4.59:1 | AA pass 4.5:1 | |
| Label on accent | 4.56:1 | AA pass 4.5:1 | |
| Primary on background | 4.28:1 | AA Large pass 3:1 | |
| Accent on background | 4.25:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.68:1 | AAA pass 4.5:1 | |
| Text on surface | 16.25:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.58:1 | AA pass 4.5:1 | |
| Label on primary | 4.59:1 | AA pass 4.5:1 | |
| Label on accent | 11.54:1 | AAA pass 4.5:1 | |
| Primary on background | 4.20:1 | AA Large pass 3:1 | |
| Accent on background | 11.54: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 | #FF0080 (Text 1) | #00FFFF (Text 2) | #FFFF00 (Text 3) | #FF4081 (Text 4) | #00E676 (Text 5) |
|---|---|---|---|---|---|
| #FF0080 | Same color | 3.01AA Large | 3.51AA Large | 1.13— | 2.26— |
| #00FFFF | 3.01AA Large | Same color | 1.17— | 2.66— | 1.33— |
| #FFFF00 | 3.51AA Large | 1.17— | Same color | 3.10AA Large | 1.55— |
| #FF4081 | 1.13— | 2.66— | 3.10AA Large | Same color | 2.00— |
| #00E676 | 2.26— | 1.33— | 1.55— | 2.00— | Same color |
Shades
Shades and tints (50–950)
