⤺ color picker

#8b0f7a Color Hex

Hex color #8b0f7a, RGB(139, 15, 122) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.

The hex color code #8b0f7a is a shade of magenta. In a RGB color space it is composed of 54.51% red, 5.88% green and 47.84% blue. In HSL notation it has 308.2° hue, 80.5% saturation and 30.2% lightness. The process color (CMYK) is combination of 0% cyan, 89.21% magenta, 12.23% yellow and 45.49% key (black). The closest short hexadecimal code of #8b0f7a is #807.

Color information

  • #8b0f7a is a shade of magenta.
  • Red is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 0%
    • Magenta: 89.21%
    • Yellow: 12.23%
    • Key color - black: 45.49%
  • In the HSL model coordinates are:
    • Hue: 308.2° degrees
    • Saturation: 80.5%
    • Lightness: 30.2%
  • The values in the RGB color space are:
    • Red: 139 (54.51%)
    • Green: 15 (5.88%)
    • Blue: 122 (47.84%)


C: 0%, M: 89.21%, Y: 12.23%, K: 45.49%
R: 139, G: 15, B: 122
H: 308.2°, S: 80.5%, L: 30.2%

Color harmonies

#8b0f7a color HTML and CSS codes

Example CSS code:

.setFontColor { color: #8b0f7a; }
.setBackgroundColor { background-color: #8b0f7a; }

#8b0f7a text/font color

How to set font color?

<p style="color:#8b0f7a">Font color is #8b0f7a.</p>

Font color is #8b0f7a.

Red was ruby, green was fluorescent, yellow was simply incandescent. Color was life. Color was everything. Color, you see, was the universal sign of magic.
- Tahereh Mafi, Furthermore

#8b0f7a background color

How to set background color?

<div style="background-color:#8b0f7a">Background color is #8b0f7a.</div>

Background color is #8b0f7a.

When you photograph people in color, you photograph their clothes. But when you photograph people in Black and white, you photograph their souls!
- Ted Grant