Hex Color Code #F540FA — RGB & HSL Conversions
How to use the #F540FA color code in HTML & CSS?
To apply the hex color #F540FA in web design, set the color property inside your CSS stylesheet. For example, adding background-color: #F540FA; will paint elements in this cool undertone shade. In modern CSS structures, you can configure it as a custom variable --color-hex: #F540FA; or utilize it directly in Tailwind CSS via arbitrary utility values like bg-[#F540FA].
What are the RGB and HSL conversion values for #F540FA?
In the digital sRGB color space, the hex value #F540FA is converted to RGB values of Red: 245, Green: 64, and Blue: 250. When analyzed under the HSL model, its coordinates correspond to hue angle 298°, 95% saturation, and 62% lightness. This makes it visually a balanced medium tone with a highly vivid, intense, and brilliant shade.
CMYK print code settings for #F540FA
When converting #F540FA for CMYK printing, the color separation consists of 2% Cyan, 74% Magenta, 0% Yellow, and 2% key/black. These neutral color boundaries serve as solid structural backgrounds, layouts, and typography grids.
HEX #F540FA Color Space Conversions
Click to copy formatContrast & Accessibility (WCAG 2.1) Check
White text readability test with #F540FA
Small body copy preview
Black text readability test with #F540FA
Small body copy preview
Complementary & Analogous Harmonies
Perfect matching color schemes for your designsShades & Tints Generator Matrix
Copy shade hex values instantlyDarker Shades (Adding Black)
Lighter Tints (Adding White)
CSS Custom Properties (Variables)
--color-hex: #F540FA;
--color-rgb: rgb(245, 64, 250);
--color-hsl: hsl(298deg, 95%, 62%);