What is hex #F8A7FA color?

 
The hex code #F8A7FA is closest to the named color Electric Lavender (#F4BBFF).
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 97% red, 65% green and 98% blue, resulting in rgb(248, 167, 250) and hsl(299, 89%, 82%).
For print media and manufacturing layout, the CMYK equivalent is (1%, 33%, 0%, 2%).
In the HSV/HSB scale, #F8A7FA features a hue of 299°, 33% saturation, and 98% brightness.

Hex #F8A7FA Color Codes & Conversions

Closest Named Color
Electric Lavender (#F4BBFF)
Hex Code #F8A7FA
Hex8 (RGBA Hex) #F8A7FAFF
RGB (CSS) rgb(248, 167, 250)
RGBA (CSS) rgba(248, 167, 250, 1)
HSL (CSS) hsl(299, 89%, 82%)
HSLA (CSS) hsla(299, 89%, 82%, 1)
HSV / HSB (299°, 33%, 98%)
CMYK Values (1%, 33%, 0%, 2%)
OKLCH (Modern CSS) oklch(83.4% 0.142 325.9)
CIE-LAB (D65) 78.75, 42.66, -29.25
CIE XYZ 69.78, 54.50, 97.27
Decimal / Binary 16295930
11111000 10100111 11111010

Closest Standards & Equivalents

Closest Web Safe
#FF99FF
Inverse Color
#075805
Complementary Color
#A9FAA7
Closest Pantone®
Pantone 236 C
Closest RAL
RAL 9016 [Traffic white]

#F8A7FA Grayscale Equivalents

Average
#DEDEDE
Lightness (Desaturation)
#D1D1D1
Weighted (BT601)
#C9C9C9
Luma (BT709)
#BEBEBE

WCAG 2.1 Color Contrast & Accessibility

Check how #F8A7FA 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 #F8A7FA

Sample preview of readable typography on top of #F8A7FA.

Contrast Ratio: 1.76:1
AA Fail AAA Fail

Black Text on #F8A7FA

Sample preview of readable typography on top of #F8A7FA.

Contrast Ratio: 11.9:1
AA Pass AAA Pass

HTML / CSS Live Previews & Snippets for #F8A7FA

Preview #F8A7FA in real UI elements and copy ready-to-use CSS rules.

Background Preview
background-color: #F8A7FA;
Typography Color Preview
color: #F8A7FA;
Border & Shadow Preview
border: 2px solid #F8A7FA;
CSS Custom Properties & Gradient
:root {
  --color-primary: #F8A7FA;
  --color-primary-rgb: 248, 167, 250;
  --color-complementary: #A9FAA7;
}
.btn-accent {
  background-color: #F8A7FA;
  color: #000000;
}

Hex #F8A7FA Color Palettes

Complementary Palette

The complementary color of #F8A7FA is #A9FAA7. 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 #F8A7FA pairs with #CEA7FA and #FAA7D2, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.

Split-Complementary Palette

The split-complementary scheme of #F8A7FA pairs with #A7FACE and #D2FAA7, delivering strong contrast while remaining easier to balance than a direct complement.

Triadic Palette

The triadic color scheme of #F8A7FA uses #A7FAF8 and #FAF8A7, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #F8A7FA combines #FAF8A7, #A9FAA7 and #A7A9FA around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #F8A7FA pairs with #FACEA7, #A9FAA7 and #A7D2FA spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #F8A7FA

Tints

Tints are created by mixing #F8A7FA with white, producing lighter variations.

Tones

Tones are created by mixing #F8A7FA with gray, softening saturation.

Shades

Shades result from mixing #F8A7FA with black, creating deeper variations.

Hex #F8A7FA in Programming & CSS Frameworks

Copy the exact syntax for #F8A7FA in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:

HTML / CSS #F8A7FA
Tailwind CSS bg-[#F8A7FA] text-[#F8A7FA]
Java (AWT) new Color(248,167,250);
Python Color("#F8A7FA")
.NET (C#) Color.FromArgb(255, 248,167,250);
Swift / iOS UIColor(red: 0.97, green: 0.65, blue: 0.98, alpha: 1)
Kotlin / Android Color.rgb(248, 167, 250)