About #F8F8FF
#F8F8FF is a very pale, vivid indigo with a hue angle of 240°. It belongs to the blue family and reads as a cool color. In the RGB model blue is the strongest channel at 255 (100%) and red the weakest at 248 (97%). Colors like this are typically used for page backgrounds, cards and subtle section fills.
- It is the CSS named color ghostwhite, so you can write
color: ghostwhiteinstead of the hex code.
Color conversions
| HEX | #F8F8FF |
|---|---|
| RGB | rgb(248, 248, 255) |
| RGB percent | rgb(97.3%, 97.3%, 100%) |
| HSL | hsl(240, 100%, 99%) |
| HSV / HSB | hsv(240, 3%, 100%) |
| CMYK | cmyk(3%, 3%, 0%, 0%) |
| CIELAB (D65) | lab(97.8 1.2 -3.3) |
| Decimal | 16316671 |
| Binary | 11111000 11111000 11111111 |
HEX F8 F8 FF → 248, 248, 255 (each pair is a base-16 number: F×16 + 8 = 248)
Color harmonies
Complementary
Analogous
Triadic
Split-complementary
Tetradic
Harmonies rotate the HSL hue (complementary +180°, triadic ±120°, split-complementary ±150°, analogous ±30°, tetradic 90° steps) and keep saturation and lightness. Swatches link to the nearest color page.
Tints and shades of #F8F8FF
Tints (mixed with white)
Shades (mixed with black)
Tones (mixed with gray)
Contrast and accessibility
| Text on #F8F8FF | Ratio | AA normal | AA large | AAA normal | AAA large |
|---|---|---|---|---|---|
| White text | 1.06:1 | Fail | Fail | Fail | Fail |
| Black text | 19.86:1 | Pass | Pass | Pass | Pass |
Relative luminance is 0.9431 (0 = black, 1 = white). WCAG 2 requires 4.5:1 for body text and 3:1 for large text and UI components.
Color blindness simulation
Protanopia#f7f9ff
Deuteranopia#f6f8ff
Tritanopia#f7f9fa
Achromatopsia#f9f9f9
People with red–green color blindness see this color almost unchanged (ΔE 1 for deuteranopia), so it is a safe choice where color carries meaning. Simulation uses the Machado (2009) matrices for full dichromacy; achromatopsia shows luminance only.
Similar named colors
| Name | HEX | ΔE 2000 |
|---|---|---|
| ghostwhite | #f8f8ff | 0 |
| whitesmoke | #f5f5f5 | 3.6 |
| snow | #fffafa | 3.7 |
| white | #ffffff | 3.8 |
CSS
.element {
color: #f8f8ff;
background-color: rgb(248, 248, 255);
border: 1px solid hsl(240, 100%, 99%);
box-shadow: 0 2px 8px rgb(248 248 255 / 50%);
}
:root { --brand: #f8f8ff; }