Marble Grape to Endive Gradient
CSS
background: linear-gradient(90deg, #dee2c7 0%, #cee1c8 100%);
From Marble Grape (#DEE2C7) to Endive (#CEE1C8). The two hues are 37° apart on the color wheel, close enough that the blend stays clean without a muddy middle.
Colors along the gradient
| Name | HEX | RGB | HSL | CMYK | |
|---|---|---|---|---|---|
| Marble Grape | #DEE2C7 | 222, 226, 199 | 69°, 32%, 83% | 2, 0, 12, 11 | |
| 25% (near Airy Fields) | #DAE2C7 | 218, 226, 199 | 78°, 32%, 83% | 4, 0, 12, 11 | |
| 50% (near Gin) | #D6E2C8 | 214, 226, 200 | 88°, 31%, 84% | 5, 0, 12, 11 | |
| 75% (near Endive) | #D2E1C8 | 210, 225, 200 | 96°, 29%, 83% | 7, 0, 11, 12 | |
| Endive | #CEE1C8 | 206, 225, 200 | 106°, 29%, 83% | 8, 0, 11, 12 |
Halfway along, the gradient is #D6E2C8, closest to the named color Gin. The stops are mixed in RGB, the way browsers draw a linear gradient by default.
Text on this gradient
Black text reads best on both ends, so one text color works across the whole gradient. The two end colors have a contrast ratio of 1.04:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #dee2c7, #cee1c8) - Diagonal:
linear-gradient(135deg, #dee2c7, #cee1c8) - Radial, from the center out:
radial-gradient(circle, #dee2c7, #cee1c8) - Tailwind CSS:
bg-gradient-to-r from-[#dee2c7] to-[#cee1c8]
Gradients like this work well for page headers, buttons, cards and slide backgrounds. Keep body text on a solid color for the best readability.
Questions
What are the HEX codes of the Marble Grape to Endive gradient?
It starts at #DEE2C7 (Marble Grape) and ends at #CEE1C8 (Endive), with #D6E2C8 in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #dee2c7, #cee1c8) runs from Endive on the left to Marble Grape on the right.