⤺ color picker

#9d7ed6 Color Hex

Hex color #9d7ed6, RGB(157, 126, 214) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.

The hex color code #9d7ed6 is a shade of blue-magenta. In a RGB color space it is composed of 61.57% red, 49.41% green and 83.92% blue. In HSL notation it has 261.1° hue, 51.8% saturation and 66.7% lightness. The process color (CMYK) is combination of 26.64% cyan, 41.12% magenta, 0% yellow and 16.08% key (black). The closest short hexadecimal code of #9d7ed6 is #97d.

Color information

  • #9d7ed6 is a shade of blue-magenta.
  • Blue is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 26.64%
    • Magenta: 41.12%
    • Yellow: 0%
    • Key color - black: 16.08%
  • In the HSL model coordinates are:
    • Hue: 261.1° degrees
    • Saturation: 51.8%
    • Lightness: 66.7%
  • The values in the RGB color space are:
    • Red: 157 (61.57%)
    • Green: 126 (49.41%)
    • Blue: 214 (83.92%)


C: 26.64%, M: 41.12%, Y: 0%, K: 16.08%
R: 157, G: 126, B: 214
H: 261.1°, S: 51.8%, L: 66.7%

Color harmonies

#9d7ed6 color HTML and CSS codes

Example CSS code:

.setFontColor { color: #9d7ed6; }
.setBackgroundColor { background-color: #9d7ed6; }

#9d7ed6 text/font color

How to set font color?

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

Font color is #9d7ed6.

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

#9d7ed6 background color

How to set background color?

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

Background color is #9d7ed6.

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