Color Converter
Paste a colour in any format and get all the others back. It accepts hex with or without the #, three-, six- and eight-digit forms, rgb() and hsl() — and every result comes with a swatch, because nobody can read `#7C3AED` and picture it. It also tells you whether black or white text will be more readable on that colour.
Paste any format — hex with or without #, rgb(), or hsl().
HEX
#7C3AED
Your colour
#7C3AED
- HEX
- #7C3AED
- RGB
- rgb(124, 58, 237)
- HSL
- hsl(262, 83%, 58%)
- HSV
- hsv(262, 76%, 93%)
- CMYK
- cmyk(48%, 76%, 0%, 7%)
- Luminance
- 0.1343
- Best text on this
- White
Nothing is uploaded — this tool runs inside your browser, so your files never leave your device.
Why use this tool
- Accepts hex, rgb() and hsl() input, including 8-digit hex with alpha
- Returns HEX, RGB, HSL, HSV and CMYK together
- Shows the relative luminance and whether black or white text reads better
- Runs in your browser — no sign-up, nothing uploaded
How it works
- 1Paste your colour in any format.
- 2Read every other format underneath.
- 3Check the 'best text on this' row before pairing it with type.
Color Converter — frequently asked questions
Hex in 3, 4, 6 or 8 digits with or without the leading #, plus rgb(), rgba(), hsl() and hsla(). Alpha values are read and ignored rather than rejected, since people paste 8-digit hex constantly.
Explore the other tools
Same deal everywhere on the site — free, no sign-up, and no watermark on anything you download.
Or see every tool on one page.