#7838CC
Purple
HEX
RGB
HSL
About #7838CC Purple
#7838CC is a purple color. In the RGB color model, it is composed of 120 red, 56 green, and 204 blue. In the HSL color space, it has a hue of 266°, saturation of 59%, and lightness of 51%.
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 #7838CC in your CSS, SCSS, or Tailwind projects.
Color Properties
266°
Hue
59%
Saturation
51%
Lightness
Purple
Color Harmonies
Colors that work well with #7838CC based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #7838CC against white and black backgrounds.
Aa#7838CC on White
Contrast Ratio6.49:1
AA ✓AA Large ✓AAA ✗
Aa#7838CC on Black
Contrast Ratio3.24:1
AA ✗AA Large ✓AAA ✗
Color Conversion Table
Complete conversion of #7838CC across different color formats.
| Format | Value |
|---|---|
| HEX | #7838CC |
| RGB | rgb(120, 56, 204) |
| HSL | hsl(266, 59%, 51%) |
| RGB Decimal | 120, 56, 204 |
| RGB Percent | 47.1%, 22.0%, 80.0% |
| CMYK (approx.) | 41%, 73%, 0%, 20% |
Related Palettes
12 palettes using #7838CC or similar colors