PreviewingGo to this paletteOpen in generator
Code
/* Data Bright — colorset.net */
:root {
--color-1: #4F46E5;
--color-2: #059669;
--color-3: #DC2626;
--color-4: #D97706;
--color-5: #7C3AED;
--color-bg: #FFF5ED;
--color-surface: #F8EBE1;
--color-border: #E2D1C5;
--color-text: #444A81;
--color-muted: #656A83;
--color-primary: #7C3AED;
--color-on-primary: #FFFFFF;
--color-accent: #B36100;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0C0E1E;
--color-surface: #151829;
--color-border: #292C42;
--color-text: #BF9F88;
--color-muted: #977E6C;
--color-primary: #7C3AED;
--color-on-primary: #FFFFFF;
--color-accent: #D97706;
--color-on-accent: #0C0E1E;
}
}
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 #D97706 | adjusted for contrast · from #4F46E5 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #4F46E5 | adjusted for contrast · from #D97706 |
| Muted text | derived | derived |
| Primary | from palette · color 5 | from palette · color 5 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #D97706 | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.68:1 | AAA pass 4.5:1 | |
| Text on surface | 7.07:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.95:1 | AA pass 4.5:1 | |
| Label on primary | 5.70:1 | AA pass 4.5:1 | |
| Label on accent | 4.54:1 | AA pass 4.5:1 | |
| Primary on background | 5.30:1 | AA pass 3:1 | |
| Accent on background | 4.22:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.77:1 | AAA pass 4.5:1 | |
| Text on surface | 7.14:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.03:1 | AA pass 4.5:1 | |
| Label on primary | 5.70:1 | AA pass 4.5:1 | |
| Label on accent | 6.01:1 | AA pass 4.5:1 | |
| Primary on background | 3.36:1 | AA Large pass 3:1 | |
| Accent on background | 6.01:1 | AA 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 | #4F46E5 (Text 1) | #059669 (Text 2) | #DC2626 (Text 3) | #D97706 (Text 4) | #7C3AED (Text 5) |
|---|---|---|---|---|---|
| #4F46E5 | Same color | 1.67— | 1.30— | 1.97— | 1.10— |
| #059669 | 1.67— | Same color | 1.28— | 1.18— | 1.51— |
| #DC2626 | 1.30— | 1.28— | Same color | 1.52— | 1.18— |
| #D97706 | 1.97— | 1.18— | 1.52— | Same color | 1.79— |
| #7C3AED | 1.10— | 1.51— | 1.18— | 1.79— | Same color |
Shades
Shades and tints (50–950)
