PreviewingGo to this paletteOpen in generator
Code
/* Velvet Shop — colorset.net */
:root {
--color-1: #1D1022;
--color-2: #BD67E0;
--color-3: #F3C969;
--color-4: #3A2843;
--color-5: #F5EDF7;
--color-bg: #F5EDF7;
--color-surface: #FAF6FC;
--color-border: #DED3E0;
--color-text: #1D1022;
--color-muted: #716178;
--color-primary: #A751C9;
--color-on-primary: #FFFFFF;
--color-accent: #AB8416;
--color-on-accent: #1D1022;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1D1022;
--color-surface: #281A2D;
--color-border: #3E2F43;
--color-text: #F5EDF7;
--color-muted: #908992;
--color-primary: #BD67E0;
--color-on-primary: #1D1022;
--color-accent: #F3C969;
--color-on-accent: #1D1022;
}
}
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 #BD67E0 | from palette · color 2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #F3C969 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.95:1 | AAA pass 4.5:1 | |
| Text on surface | 17.10:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.98:1 | AA pass 4.5:1 | |
| Label on primary | 4.50:1 | AA pass 4.5:1 | |
| Label on accent | 5.26:1 | AA pass 4.5:1 | |
| Primary on background | 3.93:1 | AA Large pass 3:1 | |
| Accent on background | 3.03:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.95:1 | AAA pass 4.5:1 | |
| Text on surface | 14.37:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.38:1 | AA pass 4.5:1 | |
| Label on primary | 5.38:1 | AA pass 4.5:1 | |
| Label on accent | 11.63:1 | AAA pass 4.5:1 | |
| Primary on background | 5.38:1 | AA pass 3:1 | |
| Accent on background | 11.63: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 | #1D1022 (Text 1) | #BD67E0 (Text 2) | #F3C969 (Text 3) | #3A2843 (Text 4) | #F5EDF7 (Text 5) |
|---|---|---|---|---|---|
| #1D1022 | Same color | 5.38AA | 11.63AAA | 1.36— | 15.95AAA |
| #BD67E0 | 5.38AA | Same color | 2.16— | 3.95AA Large | 2.97— |
| #F3C969 | 11.63AAA | 2.16— | Same color | 8.55AAA | 1.37— |
| #3A2843 | 1.36— | 3.95AA Large | 8.55AAA | Same color | 11.72AAA |
| #F5EDF7 | 15.95AAA | 2.97— | 1.37— | 11.72AAA | Same color |
Shades
Shades and tints (50–950)
