# Rainbow from purple to navy linear gradient

Rainbow from purple to navy linear gradient with 8 colors: #0f0011, #6e00a9, #f74a32, #faffbb, #ffffff, #a8e060, #2d3291, #000025. Edit it and copy or download CSS, SVG, PNG or shader code.

- Seed: `kcHizmNlC99NNyf8s0l_zq_2s9wiwOFEDyc-w`
- Page: https://grabient.com/kcHizmNlC99NNyf8s0l_zq_2s9wiwOFEDyc-w?steps=8
- Drawn as: linear gradient, 8 steps, 90 degrees
- Kinds: light center, vivid, rainbow
- Hues: two-hue
- Contrast of its darkest and lightest colors: 20.4 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 | `#0f0011` | `oklch(11.97% 0.0565 323.19)` | Glossy Black | white, 20.4 to 1 |
| 2 | `#6e00a9` | `oklch(42.53% 0.2191 306.52)` | Indiviolet Sunset | white, 9.3 to 1 |
| 3 | `#f74a32` | `oklch(65.35% 0.2136 31.07)` | Strawberry Spinach Red | black, 5.9 to 1 |
| 4 | `#faffbb` | `oklch(98.03% 0.0863 111.38)` | Golden Hermes | black, 20 to 1 |
| 5 | `#ffffff` | `oklch(100.00% 0.0001 106.40)` | White | black, 20.9 to 1 |
| 6 | `#a8e060` | `oklch(84.25% 0.1695 129.35)` | Last of Lettuce | black, 13.5 to 1 |
| 7 | `#2d3291` | `oklch(37.80% 0.1543 274.12)` | Ultramarine Highlight | white, 10.6 to 1 |
| 8 | `#000025` | `oklch(11.97% 0.0824 264.71)` | Hadopelagic Water | white, 20.4 to 1 |

## CSS

```css
background: linear-gradient(90deg, #0f0011 0.0%, #6e00a9 14.3%, #f74a32 28.6%, #faffbb 42.9%, #ffffff 57.1%, #a8e060 71.4%, #2d3291 85.7%, #000025 100.0%);
background: linear-gradient(90deg in oklch, oklch(11.97% 0.0565 323.19) 0.0%, oklch(42.53% 0.2191 306.52) 14.3%, oklch(65.35% 0.2136 31.07) 28.6%, oklch(98.03% 0.0863 111.38) 42.9%, oklch(100.00% 0.0001 106.40) 57.1%, oklch(84.25% 0.1695 129.35) 71.4%, oklch(37.80% 0.1543 274.12) 85.7%, oklch(11.97% 0.0824 264.71) 100.0%);
```

## Keyframes

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

| Keyframe | Lightness | Chroma | Hue |
| --- | --- | --- | --- |
| 1 | 0.118 | 0.061 | 323.4 |
| 2 | 0.425 | 0.222 | 306.5 |
| 3 | 0.654 | 0.214 | 391.1 |
| 4 | 0.98 | 0.141 | 471.4 |
| 5 | 1 | 0.161 | 470.3 |
| 6 | 0.843 | 0.169 | 489.3 |
| 7 | 0.378 | 0.154 | 634.1 |
| 8 | 0.118 | 0.107 | 624.6 |

## In these collections

- [Color wheel swatches](https://grabient.com/color-wheel-swatches)

## Other forms

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