What is hex #FEF8FF color?
In professional design frameworks, this hue is considered a balanced and versatile hue. It is ideal for creating smooth color harmony, digital artwork, or minimalist web components.
From a technical standpoint, this color is composed of 100% red, 97% green and 100% blue, resulting in rgb(254, 248, 255) and hsl(291, 100%, 99%).
For print media and manufacturing layout, the CMYK equivalent is (0%, 3%, 0%, 0%).
In the HSV/HSB scale, #FEF8FF features a hue of 291°, 3% saturation, and 100% brightness.
Hex #FEF8FF Color Codes & Conversions
| Closest Named Color | Ghost White (#F8F8FF) |
| Hex Code | #FEF8FF |
| Hex8 (RGBA Hex) | #FEF8FFFF |
| RGB (CSS) | rgb(254, 248, 255) |
| RGBA (CSS) | rgba(254, 248, 255, 1) |
| HSL (CSS) | hsl(291, 100%, 99%) |
| HSLA (CSS) | hsla(291, 100%, 99%, 1) |
| HSV / HSB | (291°, 3%, 100%) |
| CMYK Values | (0%, 3%, 0%, 0%) |
| OKLCH (Modern CSS) | oklch(98.6% 0.011 321.3) |
| CIE-LAB (D65) | 98.20, 3.21, -2.64 |
| CIE XYZ | 92.49, 95.43, 108.13 |
| Decimal / Binary |
16709887
11111110 11111000 11111111 |
Closest Standards & Equivalents
| Closest Web Safe | #FFFFFF [White] |
| Inverse Color | #010700 |
| Complementary Color | #F9FFF8 |
| Closest Pantone® | Pantone 7436 C |
| Closest RAL | RAL 9012 [Clean room white] |
#FEF8FF Grayscale Equivalents
| Average | #FCFCFC |
| Lightness (Desaturation) | #FCFCFC |
| Weighted (BT601) | #FBFBFB |
| Luma (BT709) | #FAFAFA |
WCAG 2.1 Color Contrast & Accessibility
Check how #FEF8FF complies with web accessibility standards (WCAG AA & AAA) for typography. Need to test against another custom color? Use our interactive contrast checker.
White Text on #FEF8FF
Sample preview of readable typography on top of #FEF8FF.
Black Text on #FEF8FF
Sample preview of readable typography on top of #FEF8FF.
HTML / CSS Live Previews & Snippets for #FEF8FF
Preview #FEF8FF in real UI elements and copy ready-to-use CSS rules.
background-color: #FEF8FF;
color: #FEF8FF;
border: 2px solid #FEF8FF;
:root {
--color-primary: #FEF8FF;
--color-primary-rgb: 254, 248, 255;
--color-complementary: #F9FFF8;
}
.btn-accent {
background-color: #FEF8FF;
color: #000000;
}
Hex #FEF8FF Color Palettes
Complementary Palette
The complementary color of #FEF8FF is #F9FFF8. Opposite on the color wheel, placing these two colors next to each other creates the strongest visual contrast.
Analogous Palette
The analogous color scheme of #FEF8FF pairs with #FAF8FF and #FFF8FC, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.
Split-Complementary Palette
The split-complementary scheme of #FEF8FF pairs with #F8FFFA and #FCFFF8, delivering strong contrast while remaining easier to balance than a direct complement.
Triadic Palette
The triadic color scheme of #FEF8FF uses #F8FFFE and #FFFEF8, spaced 120° apart for balanced, high-energy contrast.
Tetradic Palette
The tetradic color scheme of #FEF8FF combines #FFFEF8, #F9FFF8 and #F8F9FF around the color wheel for rich multi-accent UI systems.
Square Palette
The square color scheme of #FEF8FF pairs with #FFFAF8, #F9FFF8 and #F8FCFF spaced evenly at 90° intervals.
Tints, Tones & Shades of Hex #FEF8FF
Tones
Tones are created by mixing #FEF8FF with gray, softening saturation.
Shades
Shades result from mixing #FEF8FF with black, creating deeper variations.
Hex #FEF8FF in Programming & CSS Frameworks
Copy the exact syntax for #FEF8FF in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:
| HTML / CSS | #FEF8FF |
| Tailwind CSS | bg-[#FEF8FF] text-[#FEF8FF] |
| Java (AWT) | new Color(254,248,255); |
| Python | Color("#FEF8FF") |
| .NET (C#) | Color.FromArgb(255, 254,248,255); |
| Swift / iOS | UIColor(red: 1, green: 0.97, blue: 1, alpha: 1) |
| Kotlin / Android | Color.rgb(254, 248, 255) |