PreviewingGo to this paletteOpen in generator
Code
/* Ultraviolet Bloom — colorset.net */
:root {
--color-1: #800080;
--color-2: #9932CC;
--color-3: #BA55D3;
--color-4: #DA70D6;
--color-5: #DDA0DD;
--color-bg: #FEF2FE;
--color-surface: #F5E9F5;
--color-border: #DECFDE;
--color-text: #673A66;
--color-muted: #7A6579;
--color-primary: #9932CC;
--color-on-primary: #FFFFFF;
--color-accent: #99609A;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #180917;
--color-surface: #221322;
--color-border: #392738;
--color-text: #CAAECA;
--color-muted: #8F7A8F;
--color-primary: #9932CC;
--color-on-primary: #FFFFFF;
--color-accent: #DDA0DD;
--color-on-accent: #180917;
}
}
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 #DDA0DD | adjusted for contrast · from #800080 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #800080 | adjusted for contrast · from #DDA0DD |
| Muted text | derived | derived |
| Primary | from palette · color 2 | from palette · color 2 |
| 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 | 8.15:1 | AAA pass 4.5:1 | |
| Text on surface | 7.52:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.88:1 | AA pass 4.5:1 | |
| Label on primary | 5.70:1 | AA pass 4.5:1 | |
| Label on accent | 4.67:1 | AA pass 4.5:1 | |
| Primary on background | 5.25:1 | AA pass 3:1 | |
| Accent on background | 4.30:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 9.56:1 | AAA pass 4.5:1 | |
| Text on surface | 8.80:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.91:1 | AA pass 4.5:1 | |
| Label on primary | 5.70:1 | AA pass 4.5:1 | |
| Label on accent | 9.31:1 | AAA pass 4.5:1 | |
| Primary on background | 3.38:1 | AA Large pass 3:1 | |
| Accent on background | 9.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 | #800080 (Text 1) | #9932CC (Text 2) | #BA55D3 (Text 3) | #DA70D6 (Text 4) | #DDA0DD (Text 5) |
|---|---|---|---|---|---|
| #800080 | Same color | 1.65— | 2.39— | 3.26AA Large | 4.55AA |
| #9932CC | 1.65— | Same color | 1.45— | 1.97— | 2.76— |
| #BA55D3 | 2.39— | 1.45— | Same color | 1.36— | 1.90— |
| #DA70D6 | 3.26AA Large | 1.97— | 1.36— | Same color | 1.40— |
| #DDA0DD | 4.55AA | 2.76— | 1.90— | 1.40— | Same color |
Shades
Shades and tints (50–950)
