PreviewingGo to this paletteOpen in generator
Code
/* Vivid Mix — colorset.net */
:root {
--color-1: #4B0082;
--color-2: #00CED1;
--color-3: #32CD32;
--color-4: #FFD700;
--color-5: #FF69B4;
--color-bg: #FBF7E8;
--color-surface: #F1EEDF;
--color-border: #DAD5C3;
--color-text: #402A5E;
--color-muted: #6F667E;
--color-primary: #008808;
--color-on-primary: #FFFFFF;
--color-accent: #4B0082;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #120B1C;
--color-surface: #1C1527;
--color-border: #31293F;
--color-text: #E4DAB5;
--color-muted: #898267;
--color-primary: #32CD32;
--color-on-primary: #120B1C;
--color-accent: #8049C0;
--color-on-accent: #FFFFFF;
}
}
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 #FFD700 | adjusted for contrast · from #4B0082 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #4B0082 | adjusted for contrast · from #FFD700 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #32CD32 | from palette · color 3 |
| On primary | derived | derived |
| Accent | from palette · color 1 | adjusted for contrast · from #4B0082 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 11.44:1 | AAA pass 4.5:1 | |
| Text on surface | 10.54:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.05:1 | AA pass 4.5:1 | |
| Label on primary | 4.64:1 | AA pass 4.5:1 | |
| Label on accent | 12.95:1 | AAA pass 4.5:1 | |
| Primary on background | 4.33:1 | AA Large pass 3:1 | |
| Accent on background | 12.07:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.75:1 | AAA pass 4.5:1 | |
| Text on surface | 12.64:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.00:1 | AA pass 4.5:1 | |
| Label on primary | 9.09:1 | AAA pass 4.5:1 | |
| Label on accent | 5.78:1 | AA pass 4.5:1 | |
| Primary on background | 9.09:1 | AAA pass 3:1 | |
| Accent on background | 3.33:1 | AA Large 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 | #4B0082 (Text 1) | #00CED1 (Text 2) | #32CD32 (Text 3) | #FFD700 (Text 4) | #FF69B4 (Text 5) |
|---|---|---|---|---|---|
| #4B0082 | Same color | 6.63AA | 6.11AA | 9.23AAA | 4.89AA |
| #00CED1 | 6.63AA | Same color | 1.08— | 1.39— | 1.36— |
| #32CD32 | 6.11AA | 1.08— | Same color | 1.51— | 1.25— |
| #FFD700 | 9.23AAA | 1.39— | 1.51— | Same color | 1.89— |
| #FF69B4 | 4.89AA | 1.36— | 1.25— | 1.89— | Same color |
Shades
Shades and tints (50–950)
