Color Converter

Convert between HEX, RGB, HSL, and CMYK instantly. Paste a color code, get all formats.

Medium Slate Blue#8B5CF6

All Formats

HEX#8B5CF6
RGBrgb(139, 92, 246)
HSLhsl(258, 90%, 66%)
CMYKcmyk(43%, 63%, 0%, 4%)
NAMEMedium Slate Blue

CSS Usage

CSScolor: #8b5cf6;
BGbackground-color: #8b5cf6;
VAR--my-color: #8b5cf6;
TWtext-[#8b5cf6] bg-[#8b5cf6]

Free Color Format Converter

Convert colors between HEX, RGB, HSL, and CMYK formats instantly. Whether you need to convert a hex code from your design tool to RGB for CSS, or translate HSL values to hex for your brand guidelines — paste the value and get every format at once.

HEX (e.g., #8B5CF6) is the most common format for web colors. RGB (e.g., rgb(139, 92, 246)) represents colors as red, green, and blue channels. HSL (e.g., hsl(262, 90%, 66%)) uses hue, saturation, and lightness — often easier for designers to reason about. CMYK is used for print design.

Kulr also shows you the closest CSS named color, ready-to-use CSS property declarations, CSS custom property syntax, and Tailwind CSS arbitrary value syntax. Everything runs in your browser — no data is sent anywhere.