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