Hex Color Code #AFA6EE — RGB & HSL Conversions
How to use the #AFA6EE color code in HTML & CSS?
To apply the hex color #AFA6EE in web design, set the color property inside your CSS stylesheet. For example, adding background-color: #AFA6EE; will paint elements in this cool undertone shade. In modern CSS structures, you can configure it as a custom variable --color-hex: #AFA6EE; or utilize it directly in Tailwind CSS via arbitrary utility values like bg-[#AFA6EE].
What are the RGB and HSL conversion values for #AFA6EE?
In the digital sRGB color space, the hex value #AFA6EE is converted to RGB values of Red: 175, Green: 166, and Blue: 238. When analyzed under the HSL model, its coordinates correspond to hue angle 248°, 68% saturation, and 79% lightness. This makes it visually a bright, soft tint with a balanced, moderate saturation.
CMYK print code settings for #AFA6EE
When converting #AFA6EE for CMYK printing, the color separation consists of 26% Cyan, 30% Magenta, 0% Yellow, and 7% key/black. In digital designs, blue coordinates like this are highly favored by technical and corporate platforms to foster user trust, stability, and clean readability.
HEX #AFA6EE Color Space Conversions
Click to copy formatContrast & Accessibility (WCAG 2.1) Check
White text readability test with #AFA6EE
Small body copy preview
Black text readability test with #AFA6EE
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: #AFA6EE;
--color-rgb: rgb(175, 166, 238);
--color-hsl: hsl(248deg, 68%, 79%);