#F8F8FF

GhostWhite — Color Codes & Palette

#F8F8FF  ·  rgb(248, 248, 255)  ·  hsl(240, 100%, 99%)

Color Codes

Format Value
HEX #F8F8FF
RGB rgb(248, 248, 255)
HSL hsl(240, 100%, 99%)

Shades of GhostWhite

#C2C2FF#8A8AFF#5252FF#1A1AFF#0000E0#0000A8#000070#000038

Tints of GhostWhite

#FAFAFF#FAFAFF#FAFAFF#FAFAFF#FAFAFF#FAFAFF#FAFAFF#FAFAFF

Color Pairings & Harmony

Complementary
#FFFFFA
Analogous +30°
#FCFAFF
Analogous −30°
#FAFCFF
Triadic +120°
#FFFAFA
Triadic −120°
#FAFFFA

Contrast & Accessibility (WCAG 2.1)

vs. White (#FFFFFF)
1.06:1 — Fail
vs. Black (#000000)
19.86:1 — AAA pass for normal text

CSS Snippet

.element {
  color: #F8F8FF;
}

.element-bg {
  background-color: #F8F8FF;
  color: #000000;
}

.element-border {
  border: 2px solid #F8F8FF;
}

About GhostWhite

GhostWhite is a very light color with vivid, highly saturated, defined by the hex code #F8F8FF. Its exact color model values are rgb(248, 248, 255) in RGB and hsl(240, 100%, 99%) in HSL (hue 240°, saturation 100%, lightness 99%). On a white background the contrast ratio is 1.06:1 — Fail, and on black it is 19.86:1 — AAA pass for normal text. Use GhostWhite for UI elements, backgrounds, text, borders, or decorative accents. The shades section below shows progressively darker variations, while the tints strip shows progressively lighter versions — both useful for building a tonal palette. The harmony swatches provide complementary, analogous, and triadic pairings based on the HSL hue wheel.

Want to explore this color interactively, generate palettes, or convert between color formats? The DevArbor Color Picker has you covered.

Open the Color Picker →

Frequently Asked Questions

What is the RGB value of GhostWhite?
The RGB value of GhostWhite (#F8F8FF) is rgb(248, 248, 255). Red = rgb(248, 248, 255), representing the amounts of red, green, and blue light on a 0–255 scale.
Is GhostWhite accessible on a white background?
The contrast ratio of GhostWhite on white (#FFFFFF) is 1.06:1 — Fail. On black (#000000) the contrast ratio is 19.86:1 — AAA pass for normal text. WCAG 2.1 requires 4.5:1 for AA (normal text) and 7:1 for AAA.
What colors pair well with GhostWhite?
Based on color theory, GhostWhite (hsl(240, 100%, 99%)) pairs well with its complementary, analogous, and triadic hues. See the harmony swatches above for the exact hex values of each pairing type.