#6540C9
Purple
HEX
RGB
HSL
About #6540C9 Purple
#6540C9 is a purple color. In the RGB color model, it is composed of 101 red, 64 green, and 201 blue. In the HSL color space, it has a hue of 256°, saturation of 56%, and lightness of 52%.
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
Use #6540C9 in your CSS, SCSS, or Tailwind projects.
Color Properties
256°
Hue
56%
Saturation
52%
Lightness
Purple
Color Harmonies
Colors that work well with #6540C9 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #6540C9 against white and black backgrounds.
Aa#6540C9 on White
Contrast Ratio6.71:1
AA ✓AA Large ✓AAA ✗
Aa#6540C9 on Black
Contrast Ratio3.13:1
AA ✗AA Large ✓AAA ✗
Color Conversion Table
Complete conversion of #6540C9 across different color formats.
| Format | Value |
|---|---|
| HEX | #6540C9 |
| RGB | rgb(101, 64, 201) |
| HSL | hsl(256, 56%, 52%) |
| RGB Decimal | 101, 64, 201 |
| RGB Percent | 39.6%, 25.1%, 78.8% |
| CMYK (approx.) | 50%, 68%, 0%, 21% |
Related Palettes
12 palettes using #6540C9 or similar colors