PreviewingGo to this paletteOpen in generator
Code
/* Violet Purple — colorset.net */
:root {
--color-1: #6A0572;
--color-2: #AB83A1;
--color-3: #C490E4;
--color-4: #FFAAA5;
--color-5: #FFD3A5;
--color-bg: #FFF5EB;
--color-surface: #F7EBE0;
--color-border: #E0D2C4;
--color-text: #582F5C;
--color-muted: #776378;
--color-primary: #6A0572;
--color-on-primary: #FFFFFF;
--color-accent: #A77E53;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #170A18;
--color-surface: #221422;
--color-border: #382739;
--color-text: #F3D6B9;
--color-muted: #947F6A;
--color-primary: #9C42A4;
--color-on-primary: #FFFFFF;
--color-accent: #FFAAA5;
--color-on-accent: #170A18;
}
}
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 #FFD3A5 | adjusted for contrast · from #6A0572 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #6A0572 | adjusted for contrast · from #FFD3A5 |
| Muted text | derived | derived |
| Primary | from palette · color 1 | adjusted for contrast · from #6A0572 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #AB83A1 | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 9.87:1 | AAA pass 4.5:1 | |
| Text on surface | 9.07:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.08:1 | AA pass 4.5:1 | |
| Label on primary | 11.18:1 | AAA pass 4.5:1 | |
| Label on accent | 5.75:1 | AA pass 4.5:1 | |
| Primary on background | 10.39:1 | AAA pass 3:1 | |
| Accent on background | 3.39:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.84:1 | AAA pass 4.5:1 | |
| Text on surface | 12.70:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.03:1 | AA pass 4.5:1 | |
| Label on primary | 5.63:1 | AA pass 4.5:1 | |
| Label on accent | 10.56:1 | AAA pass 4.5:1 | |
| Primary on background | 3.41:1 | AA Large pass 3:1 | |
| Accent on background | 10.56: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 | #6A0572 (Text 1) | #AB83A1 (Text 2) | #C490E4 (Text 3) | #FFAAA5 (Text 4) | #FFD3A5 (Text 5) |
|---|---|---|---|---|---|
| #6A0572 | Same color | 3.46AA Large | 4.50AA | 6.15AA | 8.05AAA |
| #AB83A1 | 3.46AA Large | Same color | 1.30— | 1.78— | 2.33— |
| #C490E4 | 4.50AA | 1.30— | Same color | 1.37— | 1.79— |
| #FFAAA5 | 6.15AA | 1.78— | 1.37— | Same color | 1.31— |
| #FFD3A5 | 8.05AAA | 2.33— | 1.79— | 1.31— | Same color |
Shades
Shades and tints (50–950)
