PreviewingGo to this paletteOpen in generator
Code
/* Bright Violet — colorset.net */
:root {
--color-1: #8A2BE2;
--color-2: #9932CC;
--color-3: #BA55D3;
--color-4: #DA70D6;
--color-5: #EE82EE;
--color-bg: #FFF2FE;
--color-surface: #F5E9F5;
--color-border: #DECFDE;
--color-text: #5A447A;
--color-muted: #706780;
--color-primary: #8A2BE2;
--color-on-primary: #FFFFFF;
--color-accent: #B149B3;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #120B1C;
--color-surface: #1C1527;
--color-border: #31293F;
--color-text: #C3A7C2;
--color-muted: #927C91;
--color-primary: #8D30E5;
--color-on-primary: #FFFFFF;
--color-accent: #EE82EE;
--color-on-accent: #120B1C;
}
}
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 #EE82EE | adjusted for contrast · from #9932CC |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #9932CC | adjusted for contrast · from #EE82EE |
| Muted text | derived | derived |
| Primary | from palette · color 1 | adjusted for contrast · from #8A2BE2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #BA55D3 | from palette · color 5 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.62:1 | AAA pass 4.5:1 | |
| Text on surface | 7.02:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.92:1 | AA pass 4.5:1 | |
| Label on primary | 5.96:1 | AA pass 4.5:1 | |
| Label on accent | 4.69:1 | AA pass 4.5:1 | |
| Primary on background | 5.50:1 | AA pass 3:1 | |
| Accent on background | 4.33:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 8.83:1 | AAA pass 4.5:1 | |
| Text on surface | 8.12:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.06:1 | AA pass 4.5:1 | |
| Label on primary | 5.70:1 | AA pass 4.5:1 | |
| Label on accent | 8.31:1 | AAA pass 4.5:1 | |
| Primary on background | 3.38:1 | AA Large pass 3:1 | |
| Accent on background | 8.31: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 | #8A2BE2 (Text 1) | #9932CC (Text 2) | #BA55D3 (Text 3) | #DA70D6 (Text 4) | #EE82EE (Text 5) |
|---|---|---|---|---|---|
| #8A2BE2 | Same color | 1.04— | 1.51— | 2.06— | 2.57— |
| #9932CC | 1.04— | Same color | 1.45— | 1.97— | 2.46— |
| #BA55D3 | 1.51— | 1.45— | Same color | 1.36— | 1.70— |
| #DA70D6 | 2.06— | 1.97— | 1.36— | Same color | 1.25— |
| #EE82EE | 2.57— | 2.46— | 1.70— | 1.25— | Same color |
Shades
Shades and tints (50–950)
