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