Hex Color Code #AF8CEE — RGB & HSL Conversions
How to use the #AF8CEE color code in HTML & CSS?
To apply the hex color #AF8CEE in web design, set the color property inside your CSS stylesheet. For example, adding background-color: #AF8CEE; will paint elements in this cool undertone shade. In modern CSS structures, you can configure it as a custom variable --color-hex: #AF8CEE; or utilize it directly in Tailwind CSS via arbitrary utility values like bg-[#AF8CEE].
What are the RGB and HSL conversion values for #AF8CEE?
In the digital sRGB color space, the hex value #AF8CEE is converted to RGB values of Red: 175, Green: 140, and Blue: 238. When analyzed under the HSL model, its coordinates correspond to hue angle 261°, 74% saturation, and 74% lightness. This makes it visually a bright, soft tint with a highly vivid, intense, and brilliant shade.
CMYK print code settings for #AF8CEE
When converting #AF8CEE for CMYK printing, the color separation consists of 26% Cyan, 41% Magenta, 0% Yellow, and 7% key/black. Purple carries luxury, creative thinking, and sophisticated branding connotations, highly recommended for creative studio layouts.
HEX #AF8CEE Color Space Conversions
Click to copy formatContrast & Accessibility (WCAG 2.1) Check
White text readability test with #AF8CEE
Small body copy preview
Black text readability test with #AF8CEE
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: #AF8CEE;
--color-rgb: rgb(175, 140, 238);
--color-hsl: hsl(261deg, 74%, 74%);