#9838B7
Purple
HEX
RGB
HSL
About #9838B7 Purple
#9838B7 is a purple color. In the RGB color model, it is composed of 152 red, 56 green, and 183 blue. In the HSL color space, it has a hue of 285°, saturation of 53%, and lightness of 47%.
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 #9838B7 in your CSS, SCSS, or Tailwind projects.
Color Properties
285°
Hue
53%
Saturation
47%
Lightness
Purple
Color Harmonies
Colors that work well with #9838B7 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #9838B7 against white and black backgrounds.
Aa#9838B7 on White
Contrast Ratio5.86:1
AA ✓AA Large ✓AAA ✗
Aa#9838B7 on Black
Contrast Ratio3.58:1
AA ✗AA Large ✓AAA ✗
Color Conversion Table
Complete conversion of #9838B7 across different color formats.
| Format | Value |
|---|---|
| HEX | #9838B7 |
| RGB | rgb(152, 56, 183) |
| HSL | hsl(285, 53%, 47%) |
| RGB Decimal | 152, 56, 183 |
| RGB Percent | 59.6%, 22.0%, 71.8% |
| CMYK (approx.) | 17%, 69%, 0%, 28% |
Related Palettes
12 palettes using #9838B7 or similar colors