#F8F8FF

#F8F8FF is the hex color GhostWhite. Here are its RGB, HSL, HSV, CMYK, and OKLCH values, ready-made shades and palettes, and the text colors that stay readable on it.

This is the nearest named color to #F8F8FF; the exact match is GhostWhite.

Open #F8F8FF in the picker

#F8F8FF color codes

HEX
#F8F8FF
HEX8
#F8F8FFFF
HEX8 (Android)
#FFF8F8FF
RGB
rgb(248, 248, 255)
RGB (%)
97%, 97%, 100%
HSL
hsl(240, 100%, 99%)
HSV / HSB
hsv(240, 3%, 100%)
CMYK
cmyk(3%, 3%, 0%, 0%)
OKLCH
oklch(0.9811 0.0093 286.23)
OKLCH (%)
oklch(98.11% 0.0093 286.23)
Decimal
16316671

What color is #F8F8FF?

#F8F8FF sits at 98% lightness and 0.0093 chroma in OKLCH, hue 286.23°. Its nearest named color is GhostWhite (an exact match).

Shades and tints of #F8F8FF

Tints

Shades

Tones

#F8F8FF color harmonies

Complementary

Analogous

Triadic

Split-complementary

Tetradic

Square

Monochromatic

Using #F8F8FF in CSS

.text       { color: #F8F8FF; }
.background { background-color: #F8F8FF; }
.border     { border: 2px solid #F8F8FF; }

/* Modern, perceptually uniform */
.text { color: oklch(0.9811 0.0093 286.23); }

/* #F8F8FF at 50% transparency */
.overlay { background-color: #F8F8FF80; }

Is #F8F8FF accessible?

#F8F8FF on white text scores 1.06:1; on black text it scores 19.86:1. Black text passes WCAG AAA on #F8F8FF. Recommended text color on a #F8F8FF background: black.

A 19.86:1 vs black
A 1.06:1 vs white
  • AA normal ≥ 4.5 Pass
  • AA large ≥ 3 Pass
  • AAA normal ≥ 7 Pass
  • AAA large ≥ 4.5 Pass

Recommended text color: black

CSS contrast-color() contrast-color(#F8F8FF) → black
APCA Lc experimental 102.2 Lc · body text — preferred (black text)

WCAG 2.1 AA/AAA is the compliance floor; APCA is an optional readability metric.

Related colors

Nearest featured color: White #FFFFFF. See more in the white family on the colors hub.

Frequently asked questions

What color is #F8F8FF?
#F8F8FF is GhostWhite. In RGB it is rgb(248, 248, 255), and in HSL hsl(240, 100%, 99%).
What is #F8F8FF in RGB?
#F8F8FF converts to rgb(248, 248, 255) — red 248, green 248, blue 255.
What text color is readable on #F8F8FF?
Black text — it has the higher contrast ratio (19.86:1) against #F8F8FF. Black text passes WCAG AAA on #F8F8FF.
Open #F8F8FF in the picker