Hex Color Code #8012D4 — RGB & HSL Conversions
How to use the #8012D4 color code in HTML & CSS?
For developers, implementing the #8012D4 color code involves declaring it in your styles. In stylesheet designs, use color: #8012D4; for text alignment. If you are developing with utility-first layouts, you can invoke it in Tailwind as text-[#8012D4] or custom configure it in your theme files.
What are the RGB and HSL conversion values for #8012D4?
The RGB code for #8012D4 is computed as rgb(128, 18, 212). Web designers using HSL values will find it at a hue of 274°, saturation of 84%, and lightness index of 45%, representing a highly vivid, intense, and brilliant shade.
CMYK print code settings for #8012D4
For print design setups, the CMYK values for the #8012D4 color code are Cyan: 40%, Magenta: 92%, Yellow: 0%, and Black: 17%. Purple carries luxury, creative thinking, and sophisticated branding connotations, highly recommended for creative studio layouts.
HEX #8012D4 Color Space Conversions
Click to copy formatContrast & Accessibility (WCAG 2.1) Check
White text readability test with #8012D4
Small body copy preview
Black text readability test with #8012D4
Small body copy preview
Complementary & Analogous Harmonies
Computed dynamicallyShades & Tints Generator Matrix
Copy shade hex values instantlyDarker Shades (Adding Black)
Lighter Tints (Adding White)
CSS Custom Properties (Variables)
--color-hex: #8012D4;
--color-rgb: rgb(128, 18, 212);
--color-hsl: hsl(274deg, 84%, 45%);