Hex Color Code #BA38D3 — RGB & HSL Conversions
How to use the #BA38D3 color code in HTML & CSS?
For developers, implementing the #BA38D3 color code involves declaring it in your styles. In stylesheet designs, use color: #BA38D3; for text alignment. If you are developing with utility-first layouts, you can invoke it in Tailwind as text-[#BA38D3] or custom configure it in your theme files.
What are the RGB and HSL conversion values for #BA38D3?
The RGB code for #BA38D3 is computed as rgb(186, 56, 211). Web designers using HSL values will find it at a hue of 290°, saturation of 64%, and lightness index of 52%, representing a balanced, moderate saturation.
CMYK print code settings for #BA38D3
For print design setups, the CMYK values for the #BA38D3 color code are Cyan: 12%, Magenta: 73%, Yellow: 0%, and Black: 17%. Purple carries luxury, creative thinking, and sophisticated branding connotations, highly recommended for creative studio layouts.
HEX #BA38D3 Color Space Conversions
Click to copy formatContrast & Accessibility (WCAG 2.1) Check
White text readability test with #BA38D3
Small body copy preview
Black text readability test with #BA38D3
Small body copy preview
Complementary & Analogous Harmonies
Computed dynamicallyShades & Tints Generator Matrix
Copy shade hex values instantlyDarker Shades (Adding Black)
Lighter Tints (Adding White)
CSS Custom Properties (Variables)
--color-hex: #BA38D3;
--color-rgb: rgb(186, 56, 211);
--color-hsl: hsl(290deg, 64%, 52%);