PreviewingGo to this paletteOpen in generator
Code
/* Gradient Mind — colorset.net */
:root {
--color-1: #F8F7FC;
--color-2: #6650E8;
--color-3: #F36FA6;
--color-4: #D4CFF5;
--color-5: #1B1830;
--color-bg: #F8F7FC;
--color-surface: #EFEEF3;
--color-border: #D6D4DD;
--color-text: #1B1830;
--color-muted: #6B6983;
--color-primary: #6650E8;
--color-on-primary: #FFFFFF;
--color-accent: #DE5C94;
--color-on-accent: #1B1830;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1B1830;
--color-surface: #25233C;
--color-border: #3B3950;
--color-text: #F8F7FC;
--color-muted: #939297;
--color-primary: #6B57EF;
--color-on-primary: #FFFFFF;
--color-accent: #F36FA6;
--color-on-accent: #1B1830;
}
}
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 1 | from palette · color 5 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | from palette · color 2 | adjusted for contrast · from #6650E8 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #F36FA6 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.15:1 | AAA pass 4.5:1 | |
| Text on surface | 14.91:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.96:1 | AA pass 4.5:1 | |
| Label on primary | 5.42:1 | AA pass 4.5:1 | |
| Label on accent | 4.97:1 | AA pass 4.5:1 | |
| Primary on background | 5.08:1 | AA pass 3:1 | |
| Accent on background | 3.25:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.15:1 | AAA pass 4.5:1 | |
| Text on surface | 14.23:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.57:1 | AA pass 4.5:1 | |
| Label on primary | 4.96:1 | AA pass 4.5:1 | |
| Label on accent | 6.26:1 | AA pass 4.5:1 | |
| Primary on background | 3.47:1 | AA Large pass 3:1 | |
| Accent on background | 6.26: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 | #F8F7FC (Text 1) | #6650E8 (Text 2) | #F36FA6 (Text 3) | #D4CFF5 (Text 4) | #1B1830 (Text 5) |
|---|---|---|---|---|---|
| #F8F7FC | Same color | 5.08AA | 2.58— | 1.40— | 16.15AAA |
| #6650E8 | 5.08AA | Same color | 1.97— | 3.62AA Large | 3.18AA Large |
| #F36FA6 | 2.58— | 1.97— | Same color | 1.84— | 6.26AA |
| #D4CFF5 | 1.40— | 3.62AA Large | 1.84— | Same color | 11.51AAA |
| #1B1830 | 16.15AAA | 3.18AA Large | 6.26AA | 11.51AAA | Same color |
Shades
Shades and tints (50–950)
