PreviewingGo to this paletteOpen in generator
Code
/* Cyan Bright — colorset.net */
:root {
--color-1: #40C0FF;
--color-2: #FF40C0;
--color-3: #C0FF40;
--color-4: #FF40FF;
--color-5: #40FFC0;
--color-bg: #F3FAEB;
--color-surface: #EAF0E2;
--color-border: #D0D8C7;
--color-text: #733B5C;
--color-muted: #7E6371;
--color-primary: #D100D2;
--color-on-primary: #FFFFFF;
--color-accent: #5D8100;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1A0913;
--color-surface: #25131D;
--color-border: #3C2632;
--color-text: #DDEDC9;
--color-muted: #7C876E;
--color-primary: #FF40FF;
--color-on-primary: #1A0913;
--color-accent: #C0FF40;
--color-on-accent: #1A0913;
}
}
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 #40FFC0 | adjusted for contrast · from #FF40C0 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #FF40C0 | adjusted for contrast · from #40FFC0 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #FF40C0 | from palette · color 4 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #40C0FF | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.85:1 | AAA pass 4.5:1 | |
| Text on surface | 7.20:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.03:1 | AA pass 4.5:1 | |
| Label on primary | 4.52:1 | AA pass 4.5:1 | |
| Label on accent | 4.56:1 | AA pass 4.5:1 | |
| Primary on background | 4.24:1 | AA Large pass 3:1 | |
| Accent on background | 4.27:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.59:1 | AAA pass 4.5:1 | |
| Text on surface | 14.32:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.08:1 | AA pass 4.5:1 | |
| Label on primary | 6.80:1 | AA pass 4.5:1 | |
| Label on accent | 16.13:1 | AAA pass 4.5:1 | |
| Primary on background | 6.80:1 | AA pass 3:1 | |
| Accent on background | 16.13: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 | #40C0FF (Text 1) | #FF40C0 (Text 2) | #C0FF40 (Text 3) | #FF40FF (Text 4) | #40FFC0 (Text 5) |
|---|---|---|---|---|---|
| #40C0FF | Same color | 1.51— | 1.73— | 1.37— | 1.60— |
| #FF40C0 | 1.51— | Same color | 2.61— | 1.10— | 2.41— |
| #C0FF40 | 1.73— | 2.61— | Same color | 2.37— | 1.08— |
| #FF40FF | 1.37— | 1.10— | 2.37— | Same color | 2.19— |
| #40FFC0 | 1.60— | 2.41— | 1.08— | 2.19— | Same color |
Shades
Shades and tints (50–950)
