HEX Color Conversion

Hex Color Code #9A2ECC — RGB & HSL Conversions

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

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

What are the RGB and HSL conversion values for #9A2ECC?

The RGB code for #9A2ECC is computed as rgb(154, 46, 204). Web designers using HSL values will find it at a hue of 281°, saturation of 63%, and lightness index of 49%, representing a balanced, moderate saturation.

CMYK print code settings for #9A2ECC

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

Red Channel 154
Green Channel 46
Blue Channel 204
Luminance 0.132

HEX #9A2ECC Color Space Conversions

Click to copy format
HEX Color Code #9A2ECC
RGB (Red Green Blue) rgb(154, 46, 204)
HSL (Hue Sat Light) hsl(281°, 63%, 49%)
CMYK (Commercial Print) cmyk(25%, 77%, 0%, 20%)
HSV / HSB Values hsv(281°, 77%, 80%)
Decimal Color Code 10104524
CSS Custom Variable --color-hex: #9A2ECC;
Tailwind CSS Utility bg-[#9A2ECC]

Contrast & Accessibility (WCAG 2.1) Check

White Text on Background

White text readability test with #9A2ECC

Small body copy preview

Black Text on Background

Black text readability test with #9A2ECC

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 #9A2ECC */
--color-hex: #9A2ECC;
--color-rgb: rgb(154, 46, 204);
--color-hsl: hsl(281deg, 63%, 49%);

Adjacent HEX Color Codes

Copied!