PreviewingGo to this paletteOpen in generator
Code
/* Inference Dark — colorset.net */
:root {
--color-1: #0B0D12;
--color-2: #7C8CFF;
--color-3: #3FE0C5;
--color-4: #1F2430;
--color-5: #E7EAF3;
--color-bg: #E7EAF3;
--color-surface: #F0F1F7;
--color-border: #CDD1DE;
--color-text: #0B0D12;
--color-muted: #5C5F66;
--color-primary: #5D6AD9;
--color-on-primary: #FFFFFF;
--color-accent: #008472;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0B0D12;
--color-surface: #15171C;
--color-border: #282B33;
--color-text: #E7EAF3;
--color-muted: #80838B;
--color-primary: #7C8CFF;
--color-on-primary: #0B0D12;
--color-accent: #3FE0C5;
--color-on-accent: #0B0D12;
}
}
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 #7C8CFF | from palette · color 2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #7C8CFF | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.16:1 | AAA pass 4.5:1 | |
| Text on surface | 17.24:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.32:1 | AA pass 4.5:1 | |
| Label on primary | 4.64:1 | AA pass 4.5:1 | |
| Label on accent | 4.62:1 | AA pass 4.5:1 | |
| Primary on background | 3.86:1 | AA Large pass 3:1 | |
| Accent on background | 3.84:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.16:1 | AAA pass 4.5:1 | |
| Text on surface | 14.91:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.12:1 | AA pass 4.5:1 | |
| Label on primary | 6.53:1 | AA pass 4.5:1 | |
| Label on accent | 11.73:1 | AAA pass 4.5:1 | |
| Primary on background | 6.53:1 | AA pass 3:1 | |
| Accent on background | 11.73: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 | #0B0D12 (Text 1) | #7C8CFF (Text 2) | #3FE0C5 (Text 3) | #1F2430 (Text 4) | #E7EAF3 (Text 5) |
|---|---|---|---|---|---|
| #0B0D12 | Same color | 6.53AA | 11.73AAA | 1.25— | 16.16AAA |
| #7C8CFF | 6.53AA | Same color | 1.80— | 5.21AA | 2.48— |
| #3FE0C5 | 11.73AAA | 1.80— | Same color | 9.37AAA | 1.38— |
| #1F2430 | 1.25— | 5.21AA | 9.37AAA | Same color | 12.90AAA |
| #E7EAF3 | 16.16AAA | 2.48— | 1.38— | 12.90AAA | Same color |
Shades
Shades and tints (50–950)
