Color Converter

Convert HEX, RGB, HSL, and more.

Color
Formats
HEX#7b2ff7
RGBrgb(123, 47, 247)
HSLhsl(263, 93%, 58%)
HSVhsv(263, 81%, 97%)
WCAG contrast
vs White5.85:1
vs Black3.59:1

AA needs 4.5:1 for normal text, 3:1 for large text.

About this tool

Enter a color in any common format and instantly see it in HEX, RGB, HSL, and HSV with a live swatch. Includes a WCAG contrast checker against black and white.

How to use

  1. Type a color in HEX, RGB, or HSL, or use the picker.
  2. See all other formats update live alongside a preview swatch.
  3. Check contrast ratios for accessibility.

Examples

HEX
#7b2ff7
RGB
rgb(123, 47, 247)
HSL
hsl(265, 92%, 58%)

Frequently asked questions

HEX (3/6/8 digit), RGB/RGBA, HSL/HSLA, and HSV, plus common CSS named colors.
It computes the WCAG contrast ratio so you can verify text legibility for accessibility.
Contact

Let’s connect

Have a Liferay or Backend project you’d like to talk through? Fill in the form and I’ll get back to you.

Book Calendar