What is hex #E8A8FA 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 91% red, 66% green and 98% blue, resulting in rgb(232, 168, 250) and hsl(287, 89%, 82%).
For print media and manufacturing layout, the CMYK equivalent is (7%, 33%, 0%, 2%).
In the HSV/HSB scale, #E8A8FA features a hue of 287°, 33% saturation, and 98% brightness.
Hex #E8A8FA Color Codes & Conversions
| Closest Named Color | Electric Lavender (#F4BBFF) |
| Hex Code | #E8A8FA |
| Hex8 (RGBA Hex) | #E8A8FAFF |
| RGB (CSS) | rgb(232, 168, 250) |
| RGBA (CSS) | rgba(232, 168, 250, 1) |
| HSL (CSS) | hsl(287, 89%, 82%) |
| HSLA (CSS) | hsla(287, 89%, 82%, 1) |
| HSV / HSB | (287°, 33%, 98%) |
| CMYK Values | (7%, 33%, 0%, 2%) |
| OKLCH (Modern CSS) | oklch(81.9% 0.131 318.7) |
| CIE-LAB (D65) | 77.32, 37.22, -31.60 |
| CIE XYZ | 64.53, 52.06, 97.07 |
| Decimal / Binary |
15247610
11101000 10101000 11111010 |
WCAG 2.1 Color Contrast & Accessibility
Check how #E8A8FA 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 #E8A8FA
Sample preview of readable typography on top of #E8A8FA.
Black Text on #E8A8FA
Sample preview of readable typography on top of #E8A8FA.
HTML / CSS Live Previews & Snippets for #E8A8FA
Preview #E8A8FA in real UI elements and copy ready-to-use CSS rules.
background-color: #E8A8FA;
color: #E8A8FA;
border: 2px solid #E8A8FA;
:root {
--color-primary: #E8A8FA;
--color-primary-rgb: 232, 168, 250;
--color-complementary: #BAFAA8;
}
.btn-accent {
background-color: #E8A8FA;
color: #000000;
}
Hex #E8A8FA Color Palettes
Complementary Palette
The complementary color of #E8A8FA is #BAFAA8. 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 #E8A8FA pairs with #BFA8FA and #FAA8E3, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.
Split-Complementary Palette
The split-complementary scheme of #E8A8FA pairs with #A8FABF and #E3FAA8, delivering strong contrast while remaining easier to balance than a direct complement.
Triadic Palette
The triadic color scheme of #E8A8FA uses #A8FAE8 and #FAE8A8, spaced 120° apart for balanced, high-energy contrast.
Tetradic Palette
The tetradic color scheme of #E8A8FA combines #FAE8A8, #BAFAA8 and #A8BAFA around the color wheel for rich multi-accent UI systems.
Square Palette
The square color scheme of #E8A8FA pairs with #FABFA8, #BAFAA8 and #A8E3FA spaced evenly at 90° intervals.
Tints, Tones & Shades of Hex #E8A8FA
Tints
Tints are created by mixing #E8A8FA with white, producing lighter variations.
Tones
Tones are created by mixing #E8A8FA with gray, softening saturation.
Shades
Shades result from mixing #E8A8FA with black, creating deeper variations.
Hex #E8A8FA in Programming & CSS Frameworks
Copy the exact syntax for #E8A8FA in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:
| HTML / CSS | #E8A8FA |
| Tailwind CSS | bg-[#E8A8FA] text-[#E8A8FA] |
| Java (AWT) | new Color(232,168,250); |
| Python | Color("#E8A8FA") |
| .NET (C#) | Color.FromArgb(255, 232,168,250); |
| Swift / iOS | UIColor(red: 0.91, green: 0.66, blue: 0.98, alpha: 1) |
| Kotlin / Android | Color.rgb(232, 168, 250) |