#642FB8
Purple
HEX
RGB
HSL
About #642FB8 Purple
#642FB8 is a purple color. In the RGB color model, it is composed of 100 red, 47 green, and 184 blue. In the HSL color space, it has a hue of 263°, saturation of 59%, and lightness of 45%.
This color has a medium lightness value, making it a balanced tone ideal for both text and UI elements. With moderate saturation, it appears balanced and versatile.
CSS Code & Gradients
Use #642FB8 in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.
Beautiful Gradients
Color Properties
263°
Hue
59%
Saturation
45%
Lightness
Purple
Color Harmonies
Colors that work well with #642FB8 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #642FB8 against white and black backgrounds.
Aa#642FB8 on White
Contrast Ratio7.95:1
AA ✓AA Large ✓AAA ✓
Aa#642FB8 on Black
Contrast Ratio2.64:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #642FB8 across different color formats.
| Format | Value |
|---|---|
| HEX | #642FB8 |
| RGB | rgb(100, 47, 184) |
| HSL | hsl(263, 59%, 45%) |
| RGB Decimal | 100, 47, 184 |
| RGB Percent | 39.2%, 18.4%, 72.2% |
| CMYK (approx.) | 46%, 74%, 0%, 28% |
Related Palettes
12 palettes using #642FB8 or similar colors