⤺ color picker

#a156a7 Color Hex

Hex color #a156a7, RGB(161, 86, 167) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.

The hex color code #a156a7 is a shade of magenta. In a RGB color space it is composed of 63.14% red, 33.73% green and 65.49% blue. In HSL notation it has 295.6° hue, 32% saturation and 49.6% lightness. The process color (CMYK) is combination of 3.59% cyan, 48.50% magenta, 0% yellow and 34.51% key (black). The closest short hexadecimal code of #a156a7 is #a5a.

Color information

  • #a156a7 is a shade of magenta.
  • Blue is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 3.59%
    • Magenta: 48.50%
    • Yellow: 0%
    • Key color - black: 34.51%
  • In the HSL model coordinates are:
    • Hue: 295.6° degrees
    • Saturation: 32%
    • Lightness: 49.6%
  • The values in the RGB color space are:
    • Red: 161 (63.14%)
    • Green: 86 (33.73%)
    • Blue: 167 (65.49%)


C: 3.59%, M: 48.50%, Y: 0%, K: 34.51%
R: 161, G: 86, B: 167
H: 295.6°, S: 32%, L: 49.6%

Color harmonies

#a156a7 color HTML and CSS codes

Example CSS code:

.setFontColor { color: #a156a7; }
.setBackgroundColor { background-color: #a156a7; }

#a156a7 text/font color

How to set font color?

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

Font color is #a156a7.

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

#a156a7 background color

How to set background color?

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

Background color is #a156a7.

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