HEX Color Conversion

Hex Color Code #B040DE — RGB & HSL Conversions

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

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

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

The RGB code for #B040DE is computed as rgb(176, 64, 222). Web designers using HSL values will find it at a hue of 283°, saturation of 71%, and lightness index of 56%, representing a balanced, moderate saturation.

CMYK print code settings for #B040DE

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

Red Channel 176
Green Channel 64
Blue Channel 222
Luminance 0.182

HEX #B040DE Color Space Conversions

Click to copy format
HEX Color Code #B040DE
RGB (Red Green Blue) rgb(176, 64, 222)
HSL (Hue Sat Light) hsl(283°, 71%, 56%)
CMYK (Commercial Print) cmyk(21%, 71%, 0%, 13%)
HSV / HSB Values hsv(283°, 71%, 87%)
Decimal Color Code 11550942
CSS Custom Variable --color-hex: #B040DE;
Tailwind CSS Utility bg-[#B040DE]

Contrast & Accessibility (WCAG 2.1) Check

White Text on Background

White text readability test with #B040DE

Small body copy preview

Black Text on Background

Black text readability test with #B040DE

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 #B040DE */
--color-hex: #B040DE;
--color-rgb: rgb(176, 64, 222);
--color-hsl: hsl(283deg, 71%, 56%);

Adjacent HEX Color Codes

Copied!