# Blue, violet, and cream

Blue, purple and gray gradient with 8 colors: #244772, #303771, #4031a2, #5338a6, #6a4c76, #8a6a71, #a996a0, #c8cab2. Edit it and copy or download CSS, SVG, PNG or shader code.

- Also called: Blue, purple and gray gradient
- Seed: `kcZD21riTCTO_QK3vUDOxvDMcPRbYCb2aYvOo`
- Page: https://grabient.com/kcZD21riTCTO_QK3vUDOxvDMcPRbYCb2aYvOo?steps=8
- Drawn as: linear gradient, 8 steps, 90 degrees
- Kinds: dark to light, muted
- Hues: analogous
- Contrast of its darkest and lightest colors: 6.5 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 | `#244772` | `oklch(39.37% 0.0841 255.23)` | Pretty Twilight Night | white, 9.4 to 1 |
| 2 | `#303771` | `oklch(36.22% 0.1006 275.31)` | Ballpoint Indigo | white, 11 to 1 |
| 3 | `#4031a2` | `oklch(40.55% 0.1736 281.65)` | Purple Cabbage | white, 9.6 to 1 |
| 4 | `#5338a6` | `oklch(43.70% 0.1681 289.05)` | Royalty | white, 8.4 to 1 |
| 5 | `#6a4c76` | `oklch(46.46% 0.0758 316.53)` | Benevolence | white, 7.2 to 1 |
| 6 | `#8a6a71` | `oklch(55.91% 0.0413 5.14)` | Grape Shake | white, 4.7 to 1 |
| 7 | `#a996a0` | `oklch(69.29% 0.0262 345.06)` | Metamorphosis | black, 7.5 to 1 |
| 8 | `#c8cab2` | `oklch(83.07% 0.0317 109.75)` | Whispering Pine | black, 12.5 to 1 |

## CSS

```css
background: linear-gradient(90deg, #244772 0.0%, #303771 14.3%, #4031a2 28.6%, #5338a6 42.9%, #6a4c76 57.1%, #8a6a71 71.4%, #a996a0 85.7%, #c8cab2 100.0%);
background: linear-gradient(90deg in oklch, oklch(39.37% 0.0841 255.23) 0.0%, oklch(36.22% 0.1006 275.31) 14.3%, oklch(40.55% 0.1736 281.65) 28.6%, oklch(43.70% 0.1681 289.05) 42.9%, oklch(46.46% 0.0758 316.53) 57.1%, oklch(55.91% 0.0413 5.14) 71.4%, oklch(69.29% 0.0262 345.06) 85.7%, oklch(83.07% 0.0317 109.75) 100.0%);
```

## Keyframes

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

| Keyframe | Lightness | Chroma | Hue |
| --- | --- | --- | --- |
| 1 | 0.394 | 0.084 | 255.2 |
| 2 | 0.362 | 0.101 | 275.3 |
| 3 | 0.406 | 0.174 | 281.7 |
| 4 | 0.437 | 0.168 | 289.1 |
| 5 | 0.465 | 0.076 | 316.5 |
| 6 | 0.559 | 0.041 | 365.1 |
| 7 | 0.693 | 0.026 | 345.1 |
| 8 | 0.831 | 0.032 | 469.8 |

## In these collections

- [Blue and purple color palette](https://grabient.com/blue-and-purple-swatches)

## Other forms

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