⤺ color picker

#b170f5 Color Hex

Hex color #b170f5, RGB(177, 112, 245) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.

The hex color code #b170f5 is a shade of blue-magenta. In a RGB color space it is composed of 69.41% red, 43.92% green and 96.08% blue. In HSL notation it has 269.3° hue, 86.9% saturation and 70% lightness. The process color (CMYK) is combination of 27.76% cyan, 54.29% magenta, 0% yellow and 3.92% key (black). The closest short hexadecimal code of #b170f5 is #b7f.

Color information

  • #b170f5 is a shade of blue-magenta.
  • Blue is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 27.76%
    • Magenta: 54.29%
    • Yellow: 0%
    • Key color - black: 3.92%
  • In the HSL model coordinates are:
    • Hue: 269.3° degrees
    • Saturation: 86.9%
    • Lightness: 70%
  • The values in the RGB color space are:
    • Red: 177 (69.41%)
    • Green: 112 (43.92%)
    • Blue: 245 (96.08%)


C: 27.76%, M: 54.29%, Y: 0%, K: 3.92%
R: 177, G: 112, B: 245
H: 269.3°, S: 86.9%, L: 70%

Color harmonies

#b170f5 color HTML and CSS codes

Example CSS code:

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

#b170f5 text/font color

How to set font color?

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

Font color is #b170f5.

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

#b170f5 background color

How to set background color?

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

Background color is #b170f5.

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