Oh Boy! to Purple Illusion Gradient
CSS
background: linear-gradient(90deg, #bbdaf8 0%, #b8b8f8 100%);
From Oh Boy! (#BBDAF8) to Purple Illusion (#B8B8F8). The two hues are 30° 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 | |
|---|---|---|---|---|---|
| Oh Boy! | #BBDAF8 | 187, 218, 248 | 210°, 81%, 85% | 25, 12, 0, 3 | |
| 25% (near Oh Boy!) | #BAD2F8 | 186, 210, 248 | 217°, 82%, 85% | 25, 15, 0, 3 | |
| 50% (near Frost Fairy) | #BAC9F8 | 186, 201, 248 | 225°, 82%, 85% | 25, 19, 0, 3 | |
| 75% (near Purple Illusion) | #B9C1F8 | 185, 193, 248 | 232°, 82%, 85% | 25, 22, 0, 3 | |
| Purple Illusion | #B8B8F8 | 184, 184, 248 | 240°, 82%, 85% | 26, 26, 0, 3 |
Halfway along, the gradient is #BAC9F8, closest to the named color Frost Fairy. 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.29:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #bbdaf8, #b8b8f8) - Diagonal:
linear-gradient(135deg, #bbdaf8, #b8b8f8) - Radial, from the center out:
radial-gradient(circle, #bbdaf8, #b8b8f8) - Tailwind CSS:
bg-gradient-to-r from-[#bbdaf8] to-[#b8b8f8]
Gradients like this work well for page headers, buttons, cards and slide backgrounds. Keep body text on a solid color for the best readability.
Related gradients
Questions
What are the HEX codes of the Oh Boy! to Purple Illusion gradient?
It starts at #BBDAF8 (Oh Boy!) and ends at #B8B8F8 (Purple Illusion), with #BAC9F8 in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #bbdaf8, #b8b8f8) runs from Purple Illusion on the left to Oh Boy! on the right.