⤺ color picker
0
Reddit

#8b2a7d Color Hex

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


The hex color code #8b2a7d is a shade of magenta. In a RGB color space it is composed of 54.51% red, 16.47% green and 49.02% blue. In HSL notation it has 308.7° hue, 53.6% saturation and 35.5% lightness. The process color (CMYK) is combination of 0% cyan, 69.78% magenta, 10.07% yellow and 45.49% key (black). The closest short hexadecimal code of #8b2a7d is #827.

Color information

  • #8b2a7d is a shade of magenta.
  • Red is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 0%
    • Magenta: 69.78%
    • Yellow: 10.07%
    • Key color - black: 45.49%
  • In the HSL model coordinates are:
    • Hue: 308.7° degrees
    • Saturation: 53.6%
    • Lightness: 35.5%
  • The values in the RGB color space are:
    • Red: 139 (54.51%)
    • Green: 42 (16.47%)
    • Blue: 125 (49.02%)

Conversions

Hex:
#8b2a7d
CMYK:
C: 0%, M: 69.78%, Y: 10.07%, K: 45.49%
RGB:
R: 139, G: 42, B: 125
HSL:
H: 308.7°, S: 53.6%, L: 35.5%

Color harmonies

#8b2a7d color HTML and CSS codes

Example CSS code:

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

#8b2a7d text/font color

How to set font color?

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

Font color is #8b2a7d.

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

#8b2a7d background color

How to set background color?

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

Background color is #8b2a7d.

Compromise in colors is grey.
- Edi Rama