Color Converter — HEX, RGB, HSL
Type any colour — #7c5cff, rgb(124 92 255) or hsl(252 100% 68%) — or pick one visually, and get every format ready to copy. See lighter and darker shades and check whether text on that colour meets WCAG accessibility contrast.
Runs in your browser — your data never leave your deviceHEX
#7c5cffRGB
rgb(124, 92, 255)HSL
hsl(252, 100%, 68%)HSV
hsv(252, 64%, 100%)CSS variable
--color: #7c5cff;Shades
White text4.35:1 · AA large
Black text4.83:1 · AA
WCAG: 4.5:1 for normal text (AA), 3:1 for large text, 7:1 for AAA.
How to use the Color Converter
- Type a colour in any format, or use the colour picker.
- Copy HEX, RGB, HSL or HSV with one click.
- Use the shades and contrast check to choose accessible text colours.
Features
- Understands HEX (3, 4, 6, 8 digits), RGB(A) and HSL(A)
- Copy-ready HEX, RGB, HSL, HSV and CSS variable
- Shade palette from light to dark
- WCAG contrast ratio against black and white text
Privacy
This tool runs entirely in your web browser using your device’s own processing power. Your data are not uploaded to NovaTools or to anyone else, and nothing is stored on a server. You can even disconnect from the internet after the page loads and keep working.
Good to know
- Named colours (like “rebeccapurple”) and newer CSS spaces (OKLCH) aren’t supported yet.
Frequently asked questions
How do I convert HEX to RGB?
Split the six digits into pairs and convert each from hexadecimal: #7c5cff → 7c=124, 5c=92, ff=255 → rgb(124, 92, 255). The tool does this instantly.
What contrast ratio do I need?
WCAG AA requires at least 4.5:1 for normal text and 3:1 for large text. AAA requires 7:1.
What’s the difference between HSL and HSV?
Both describe hue and saturation. HSL uses Lightness (50% is the pure colour, 100% is white); HSV uses Value (100% is the brightest version of the colour). CSS supports HSL directly.