PreviewingGo to this paletteOpen in generator
Code
/* Grape Velvet — colorset.net */
:root {
--color-1: #663399;
--color-2: #8A2BE2;
--color-3: #9932CC;
--color-4: #7B68EE;
--color-5: #6A5ACD;
--color-bg: #F6F6FF;
--color-surface: #ECECFB;
--color-border: #D3D3E5;
--color-text: #5A4278;
--color-muted: #70667F;
--color-primary: #8A2BE2;
--color-on-primary: #FFFFFF;
--color-accent: #663399;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #130B1C;
--color-surface: #1D1527;
--color-border: #32293E;
--color-text: #A2A2C5;
--color-muted: #81819B;
--color-primary: #8D30E5;
--color-on-primary: #FFFFFF;
--color-accent: #804EB6;
--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 #7B68EE | adjusted for contrast · from #663399 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #663399 | adjusted for contrast · from #7B68EE |
| Muted text | derived | derived |
| Primary | from palette · color 2 | adjusted for contrast · from #8A2BE2 |
| On primary | derived | derived |
| Accent | from palette · color 1 | adjusted for contrast · from #6A5ACD |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.86:1 | AAA pass 4.5:1 | |
| Text on surface | 7.23:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.02:1 | AA pass 4.5:1 | |
| Label on primary | 5.96:1 | AA pass 4.5:1 | |
| Label on accent | 8.41:1 | AAA pass 4.5:1 | |
| Primary on background | 5.55:1 | AA pass 3:1 | |
| Accent on background | 7.82:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.79:1 | AAA pass 4.5:1 | |
| Text on surface | 7.16:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.08:1 | AA pass 4.5:1 | |
| Label on primary | 5.70:1 | AA pass 4.5:1 | |
| Label on accent | 5.70:1 | AA pass 4.5:1 | |
| Primary on background | 3.38:1 | AA Large pass 3:1 | |
| Accent on background | 3.37: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 | #663399 (Text 1) | #8A2BE2 (Text 2) | #9932CC (Text 3) | #7B68EE (Text 4) | #6A5ACD (Text 5) |
|---|---|---|---|---|---|
| #663399 | Same color | 1.41— | 1.47— | 2.02— | 1.58— |
| #8A2BE2 | 1.41— | Same color | 1.04— | 1.43— | 1.12— |
| #9932CC | 1.47— | 1.04— | Same color | 1.37— | 1.07— |
| #7B68EE | 2.02— | 1.43— | 1.37— | Same color | 1.28— |
| #6A5ACD | 1.58— | 1.12— | 1.07— | 1.28— | Same color |
Shades
Shades and tints (50–950)
