# Rainbow linear gradient

Rainbow linear gradient with 7 colors: #c81b87, #926cd5, #50a6cd, #5dd6a4, #e8be0b, #af5468, #322449. Edit it and copy or download CSS, SVG, PNG or shader code.

- Seed: `kUjqD416Sx2e8L6lmK3g`
- Page: https://grabient.com/kUjqD416Sx2e8L6lmK3g
- Drawn as: linear gradient, 7 steps, 90 degrees
- Kinds: light center, rainbow
- Hues: analogous
- Contrast of its darkest and lightest colors: 7.9 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 | `#c81b87` | `oklch(55.91% 0.2205 349.45)` | Medium Violet Red | white, 5.2 to 1 |
| 2 | `#926cd5` | `oklch(61.61% 0.1565 298.33)` | Iridescent Purple | black, 5.3 to 1 |
| 3 | `#50a6cd` | `oklch(68.90% 0.1006 230.04)` | Mystic Blue | black, 7.7 to 1 |
| 4 | `#5dd6a4` | `oklch(79.26% 0.1316 163.40)` | Medium Aquamarine | black, 11.5 to 1 |
| 5 | `#e8be0b` | `oklch(81.50% 0.1654 92.66)` | Fat Gold | black, 11.8 to 1 |
| 6 | `#af5468` | `oklch(56.30% 0.1205 7.99)` | Sombre Roses | white, 4.9 to 1 |
| 7 | `#322449` | `oklch(29.53% 0.0675 300.49)` | Power Outage | white, 14.1 to 1 |

## CSS

```css
background: linear-gradient(90deg, #c81b87 0.0%, #926cd5 16.7%, #50a6cd 33.3%, #5dd6a4 50.0%, #e8be0b 66.7%, #af5468 83.3%, #322449 100.0%);
background: linear-gradient(90deg in oklch, oklch(55.91% 0.2205 349.45) 0.0%, oklch(61.61% 0.1565 298.33) 16.7%, oklch(68.90% 0.1006 230.04) 33.3%, oklch(79.26% 0.1316 163.40) 50.0%, oklch(81.50% 0.1654 92.66) 66.7%, oklch(56.30% 0.1205 7.99) 83.3%, oklch(29.53% 0.0675 300.49) 100.0%);
```

## Keyframes

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

| Keyframe | Lightness | Chroma | Hue |
| --- | --- | --- | --- |
| 1 | 0.559 | 0.22 | 349.5 |
| 2 | 0.689 | 0.101 | 230 |
| 3 | 0.815 | 0.165 | 92.7 |
| 4 | 0.295 | 0.068 | -59.5 |

## In these collections

- [Energetic swatches](https://grabient.com/energetic-swatches)

## Other forms

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