PreviewingGo to this paletteOpen in generator
Code
/* Deep Learning — colorset.net */
:root {
--color-1: #0E1117;
--color-2: #F2A65A;
--color-3: #9D8CFF;
--color-4: #252B36;
--color-5: #EDEFF3;
--color-bg: #EDEFF3;
--color-surface: #F5F6F9;
--color-border: #D3D6DE;
--color-text: #0E1117;
--color-muted: #60646C;
--color-primary: #8B79EA;
--color-on-primary: #0E1117;
--color-accent: #AC6504;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0E1117;
--color-surface: #181B22;
--color-border: #2B3039;
--color-text: #EDEFF3;
--color-muted: #86888C;
--color-primary: #9D8CFF;
--color-on-primary: #0E1117;
--color-accent: #F2A65A;
--color-on-accent: #0E1117;
}
}
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 #9D8CFF | from palette · color 3 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #F2A65A | from palette · color 2 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.42:1 | AAA pass 4.5:1 | |
| Text on surface | 17.49:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.16:1 | AA pass 4.5:1 | |
| Label on primary | 5.42:1 | AA pass 4.5:1 | |
| Label on accent | 4.55:1 | AA pass 4.5:1 | |
| Primary on background | 3.03:1 | AA Large pass 3:1 | |
| Accent on background | 3.95:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.42:1 | AAA pass 4.5:1 | |
| Text on surface | 14.97:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.32:1 | AA pass 4.5:1 | |
| Label on primary | 6.87:1 | AA pass 4.5:1 | |
| Label on accent | 9.34:1 | AAA pass 4.5:1 | |
| Primary on background | 6.87:1 | AA pass 3:1 | |
| Accent on background | 9.34: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 | #0E1117 (Text 1) | #F2A65A (Text 2) | #9D8CFF (Text 3) | #252B36 (Text 4) | #EDEFF3 (Text 5) |
|---|---|---|---|---|---|
| #0E1117 | Same color | 9.34AAA | 6.87AA | 1.33— | 16.42AAA |
| #F2A65A | 9.34AAA | Same color | 1.36— | 7.02AAA | 1.76— |
| #9D8CFF | 6.87AA | 1.36— | Same color | 5.16AA | 2.39— |
| #252B36 | 1.33— | 7.02AAA | 5.16AA | Same color | 12.35AAA |
| #EDEFF3 | 16.42AAA | 1.76— | 2.39— | 12.35AAA | Same color |
Shades
Shades and tints (50–950)
