HEX Color Conversion

Hex Color Code #DD98DD — RGB & HSL Conversions

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

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

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

The RGB code for #DD98DD is computed as rgb(221, 152, 221). 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 #DD98DD

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

Red Channel 221
Green Channel 152
Blue Channel 221
Luminance 0.430

HEX #DD98DD Color Space Conversions

Click to copy format
HEX Color Code #DD98DD
RGB (Red Green Blue) rgb(221, 152, 221)
HSL (Hue Sat Light) hsl(300°, 50%, 73%)
CMYK (Commercial Print) cmyk(0%, 31%, 0%, 13%)
HSV / HSB Values hsv(300°, 31%, 87%)
Decimal Color Code 14522589
CSS Custom Variable --color-hex: #DD98DD;
Tailwind CSS Utility bg-[#DD98DD]

Contrast & Accessibility (WCAG 2.1) Check

White Text on Background

White text readability test with #DD98DD

Small body copy preview

Black Text on Background

Black text readability test with #DD98DD

Small body copy preview

Complementary & Analogous Harmonies

Computed dynamically

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

Adjacent HEX Color Codes

Copied!