#8A1FB7
Purple
HEX
RGB
HSL
About #8A1FB7 Purple
#8A1FB7 is a purple color. In the RGB color model, it is composed of 138 red, 31 green, and 183 blue. In the HSL color space, it has a hue of 282°, saturation of 71%, and lightness of 42%.
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 #8A1FB7 in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.
Beautiful Gradients
Color Properties
282°
Hue
71%
Saturation
42%
Lightness
Purple
Color Harmonies
Colors that work well with #8A1FB7 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #8A1FB7 against white and black backgrounds.
Aa#8A1FB7 on White
Contrast Ratio7.09:1
AA ✓AA Large ✓AAA ✓
Aa#8A1FB7 on Black
Contrast Ratio2.96:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #8A1FB7 across different color formats.
| Format | Value |
|---|---|
| HEX | #8A1FB7 |
| RGB | rgb(138, 31, 183) |
| HSL | hsl(282, 71%, 42%) |
| RGB Decimal | 138, 31, 183 |
| RGB Percent | 54.1%, 12.2%, 71.8% |
| CMYK (approx.) | 25%, 83%, 0%, 28% |
Related Palettes
12 palettes using #8A1FB7 or similar colors