HEX Color Conversion

Hex Color Code #DC96DC — RGB & HSL Conversions

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

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

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

The RGB code for #DC96DC is computed as rgb(220, 150, 220). Web designers using HSL values will find it at a hue of 300°, saturation of 50%, and lightness index of 73%, representing a balanced, moderate saturation.

CMYK print code settings for #DC96DC

For print design setups, the CMYK values for the #DC96DC color code are Cyan: 0%, Magenta: 32%, Yellow: 0%, and Black: 14%. These neutral color boundaries serve as solid structural backgrounds, layouts, and typography grids.

Red Channel 220
Green Channel 150
Blue Channel 220
Luminance 0.422

HEX #DC96DC Color Space Conversions

Click to copy format
HEX Color Code #DC96DC
RGB (Red Green Blue) rgb(220, 150, 220)
HSL (Hue Sat Light) hsl(300°, 50%, 73%)
CMYK (Commercial Print) cmyk(0%, 32%, 0%, 14%)
HSV / HSB Values hsv(300°, 32%, 86%)
Decimal Color Code 14456540
CSS Custom Variable --color-hex: #DC96DC;
Tailwind CSS Utility bg-[#DC96DC]

Contrast & Accessibility (WCAG 2.1) Check

White Text on Background

White text readability test with #DC96DC

Small body copy preview

Black Text on Background

Black text readability test with #DC96DC

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 #DC96DC */
--color-hex: #DC96DC;
--color-rgb: rgb(220, 150, 220);
--color-hsl: hsl(300deg, 50%, 73%);

Adjacent HEX Color Codes

Copied!