CSS named color
GhostWhite Color Code
GhostWhite is a very light off-white with the hex code #F8F8FF. In RGB it is rgb(248, 248, 255), in HSL hsl(240, 100%, 99%) and in CMYK cmyk(3%, 3%, 0%, 0%).
Color values
In CSS you can write it as the keyword ghostwhite.
White text on GhostWhite has a contrast ratio of 1.06:1 and black text 19.86:1, so black text is the more readable choice.
The closest Tailwind CSS color is Purple 50 (#FAF5FF).
Use GhostWhite in CSS
.element {
color: ghostwhite;
background-color: #f8f8ff;
border-color: rgb(248, 248, 255);
} Tints and shades of GhostWhite
Ten steps from light to dark at the same hue. Click any swatch to copy it.
Colors that go with GhostWhite
Color-wheel harmonies built from #F8F8FF. Click a swatch to copy it or open the set in the color wheel.
Split complementary
Open in color wheelA base plus the two neighbors of its complement — contrast with less tension.
Text contrast on GhostWhite
Colors similar to GhostWhite
Closest CSS named colors
Closest traditional Chinese colors
Closest Tailwind colors
Palettes with similar colors
Questions about GhostWhite
What is the hex code for GhostWhite?
The hex code for GhostWhite is #F8F8FF. Its RGB value is rgb(248, 248, 255) and its HSL value is hsl(240, 100%, 99%).
What colors go with GhostWhite?
The complementary color of GhostWhite is #FFFFFA. For a softer scheme try the analogous colors #FAFCFF and #FCFAFF; for a balanced three-color scheme use the triadic colors #FFFAFA and #FAFFFA.
Is GhostWhite readable as a text color?
On a white background GhostWhite has a contrast ratio of 1.06:1, which does not pass WCAG AA for normal text (4.5:1). On black it reaches 19.86:1.