# Rainbow from gray to purple linear gradient

Rainbow from gray to purple linear gradient with 7 colors: #e8eefd, #40445c, #002441, #008e7c, #b39700, #df617e, #7a5cbf. Edit it and copy or download CSS, SVG, PNG or shader code.

- Seed: `kW8Q_AGZQ_8mvNVXujDRjayA`
- Page: https://grabient.com/kW8Q_AGZQ_8mvNVXujDRjayA
- Drawn as: linear gradient, 7 steps, 90 degrees
- Kinds: dark center, vivid, rainbow
- Hues: two-hue
- Contrast of its darkest and lightest colors: 13.6 to 1

## Colors

The name most people give each color, and the text color that reads on it with its contrast.

| Stop | Hex | OKLCH | Name | Text on it |
| --- | --- | --- | --- | --- |
| 1 | `#e8eefd` | `oklch(94.88% 0.0207 270.00)` | Brilliant White | black, 18 to 1 |
| 2 | `#40445c` | `oklch(39.44% 0.0394 276.65)` | Bella Sera | white, 9.4 to 1 |
| 3 | `#002441` | `oklch(25.34% 0.0687 248.31)` | Rhapsody in Blue | white, 15.8 to 1 |
| 4 | `#008e7c` | `oklch(57.88% 0.1049 180.17)` | Philips Green | black, 5.1 to 1 |
| 5 | `#b39700` | `oklch(68.05% 0.1399 95.55)` | Sunken Gold | black, 7.3 to 1 |
| 6 | `#df617e` | `oklch(65.63% 0.1592 8.08)` | Hint of Cherry | black, 6.1 to 1 |
| 7 | `#7a5cbf` | `oklch(55.12% 0.1502 295.01)` | Fuchsia Blue | white, 5.1 to 1 |

## CSS

```css
background: linear-gradient(90deg, #e8eefd 0.0%, #40445c 16.7%, #002441 33.3%, #008e7c 50.0%, #b39700 66.7%, #df617e 83.3%, #7a5cbf 100.0%);
background: linear-gradient(90deg in oklch, oklch(94.88% 0.0207 270.00) 0.0%, oklch(39.44% 0.0394 276.65) 16.7%, oklch(25.34% 0.0687 248.31) 33.3%, oklch(57.88% 0.1049 180.17) 50.0%, oklch(68.05% 0.1399 95.55) 66.7%, oklch(65.63% 0.1592 8.08) 83.3%, oklch(55.12% 0.1502 295.01) 100.0%);
```

## Keyframes

5 OKLCH keyframes joined by a Catmull-Rom spline. Hue is unwrapped degrees.

| Keyframe | Lightness | Chroma | Hue |
| --- | --- | --- | --- |
| 1 | 0.949 | 0.021 | 270 |
| 2 | 0.201 | 0.055 | 270 |
| 3 | 0.579 | 0.13 | 180.2 |
| 4 | 0.689 | 0.16 | 52.3 |
| 5 | 0.551 | 0.15 | -65 |

## In these collections

- [Modern swatches](https://grabient.com/modern-swatches)
- [Presentation swatches](https://grabient.com/presentation-swatches)
- [UI swatches](https://grabient.com/ui-swatches)

## Other forms

- [JSON](https://grabient.com/kW8Q_AGZQ_8mvNVXujDRjayA.json)
- [PNG](https://grabient.com/kW8Q_AGZQ_8mvNVXujDRjayA.png)
- [SVG](https://grabient.com/kW8Q_AGZQ_8mvNVXujDRjayA.svg)
- [CSS](https://grabient.com/kW8Q_AGZQ_8mvNVXujDRjayA.css)
- [ASE](https://grabient.com/kW8Q_AGZQ_8mvNVXujDRjayA.ase)
- [GPL](https://grabient.com/kW8Q_AGZQ_8mvNVXujDRjayA.gpl)
- [GRD](https://grabient.com/kW8Q_AGZQ_8mvNVXujDRjayA.grd)
- [Design tokens](https://grabient.com/kW8Q_AGZQ_8mvNVXujDRjayA.tokens.json)
- [Social card](https://grabient.com/api/og?seed=kW8Q_AGZQ_8mvNVXujDRjayA)
- [Palettes like this one](https://grabient.com/palettes?q=kW8Q_AGZQ_8mvNVXujDRjayA)
- [Guide for agents](https://grabient.com/llms.txt)
