HEX Color Conversion

Hex Color Code #B156DE — RGB & HSL Conversions

How to use the #B156DE color code in HTML & CSS?

For developers, implementing the #B156DE color code involves declaring it in your styles. In stylesheet designs, use color: #B156DE; for text alignment. If you are developing with utility-first layouts, you can invoke it in Tailwind as text-[#B156DE] or custom configure it in your theme files.

What are the RGB and HSL conversion values for #B156DE?

The RGB code for #B156DE is computed as rgb(177, 86, 222). Web designers using HSL values will find it at a hue of 280°, saturation of 67%, and lightness index of 60%, representing a balanced, moderate saturation.

CMYK print code settings for #B156DE

For print design setups, the CMYK values for the #B156DE color code are Cyan: 20%, Magenta: 61%, Yellow: 0%, and Black: 13%. Purple carries luxury, creative thinking, and sophisticated branding connotations, highly recommended for creative studio layouts.

Red Channel 177
Green Channel 86
Blue Channel 222
Luminance 0.213

HEX #B156DE Color Space Conversions

Click to copy format
HEX Color Code #B156DE
RGB (Red Green Blue) rgb(177, 86, 222)
HSL (Hue Sat Light) hsl(280°, 67%, 60%)
CMYK (Commercial Print) cmyk(20%, 61%, 0%, 13%)
HSV / HSB Values hsv(280°, 61%, 87%)
Decimal Color Code 11622110
CSS Custom Variable --color-hex: #B156DE;
Tailwind CSS Utility bg-[#B156DE]

Contrast & Accessibility (WCAG 2.1) Check

White Text on Background

White text readability test with #B156DE

Small body copy preview

Black Text on Background

Black text readability test with #B156DE

Small body copy preview

Complementary & Analogous Harmonies

Perfect matching color schemes for your designs

Shades & Tints Generator Matrix

Copy shade hex values instantly

Darker Shades (Adding Black)

Lighter Tints (Adding White)

{ } CSS Custom Properties (Variables)

Copy CSS Styles
/* CSS Custom Properties for color #B156DE */
--color-hex: #B156DE;
--color-rgb: rgb(177, 86, 222);
--color-hsl: hsl(280deg, 67%, 60%);

Adjacent HEX Color Codes

Copied!