Convert a color between every format at once — HEX, RGB, HSL, HSV, CMYK and OKLCH. Edit any one and the rest update live.
/* HEX */ color: #7C5CFF;
/* RGB */ color: rgb(124, 92, 255);
/* HSL */ color: hsl(252, 100%, 68%);
/* OKLCH */ color: oklch(0.599 0.230 286.2);All formats describe one underlying color, so the tool converts by parsing your input into RGB and then re-projecting it into each model. HEX is hexadecimal RGB; HSL and HSV reorganize the same data into hue/saturation/lightness or value; OKLCH places it in a perceptual lightness–chroma–hue space. Because the math is reversible, editing any field round-trips cleanly to the rest.
Paste or type a color in any field — for example #3DB9FF, rgb(61, 185, 255) or hsl(201, 100%, 62%).
The other formats recompute immediately and the preview swatch shows the exact color.
Click a result to copy it, ready to drop into CSS, Sass, Figma or your codebase.