⤺ color picker
0
Reddit

#ba5bc9 Color Hex

Hex color #ba5bc9, RGB(186, 91, 201) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.


The hex color code #ba5bc9 is a shade of magenta. In a RGB color space it is composed of 72.94% red, 35.69% green and 78.82% blue. In HSL notation it has 291.8° hue, 50.5% saturation and 57.3% lightness. The process color (CMYK) is combination of 7.46% cyan, 54.73% magenta, 0% yellow and 21.18% key (black). The closest short hexadecimal code of #ba5bc9 is #b5c.

Color information

  • #ba5bc9 is a shade of magenta.
  • Blue is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 7.46%
    • Magenta: 54.73%
    • Yellow: 0%
    • Key color - black: 21.18%
  • In the HSL model coordinates are:
    • Hue: 291.8° degrees
    • Saturation: 50.5%
    • Lightness: 57.3%
  • The values in the RGB color space are:
    • Red: 186 (72.94%)
    • Green: 91 (35.69%)
    • Blue: 201 (78.82%)

Conversions

Hex:
#ba5bc9
CMYK:
C: 7.46%, M: 54.73%, Y: 0%, K: 21.18%
RGB:
R: 186, G: 91, B: 201
HSL:
H: 291.8°, S: 50.5%, L: 57.3%

Color harmonies

#ba5bc9 color HTML and CSS codes

Example CSS code:

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

#ba5bc9 text/font color

How to set font color?

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

Font color is #ba5bc9.

Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage

#ba5bc9 background color

How to set background color?

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

Background color is #ba5bc9.

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