#C540E2
Purple
HEX
RGB
HSL
About #C540E2 Purple
#C540E2 is a purple color. In the RGB color model, it is composed of 197 red, 64 green, and 226 blue. In the HSL color space, it has a hue of 289°, saturation of 74%, and lightness of 57%.
This color has a medium lightness value, making it a balanced tone ideal for both text and UI elements. With high saturation, it appears vibrant and eye-catching.
CSS Code & Gradients
Use #C540E2 in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.
Beautiful Gradients
Color Properties
289°
Hue
74%
Saturation
57%
Lightness
Purple
Color Harmonies
Colors that work well with #C540E2 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #C540E2 against white and black backgrounds.
Aa#C540E2 on White
Contrast Ratio4.03:1
AA ✗AA Large ✓AAA ✗
Aa#C540E2 on Black
Contrast Ratio5.21:1
AA ✓AA Large ✓AAA ✗
Color Conversion Table
Complete conversion of #C540E2 across different color formats.
| Format | Value |
|---|---|
| HEX | #C540E2 |
| RGB | rgb(197, 64, 226) |
| HSL | hsl(289, 74%, 57%) |
| RGB Decimal | 197, 64, 226 |
| RGB Percent | 77.3%, 25.1%, 88.6% |
| CMYK (approx.) | 13%, 72%, 0%, 11% |
Related Palettes
12 palettes using #C540E2 or similar colors