⤺ color picker
0
Reddit

#ba7ff5 Color Hex

Hex color #ba7ff5, RGB(186, 127, 245) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.


The hex color code #ba7ff5 is a shade of blue-magenta. In a RGB color space it is composed of 72.94% red, 49.8% green and 96.08% blue. In HSL notation it has 270° hue, 85.5% saturation and 72.9% lightness. The process color (CMYK) is combination of 24.08% cyan, 48.16% magenta, 0% yellow and 3.92% key (black). The closest short hexadecimal code of #ba7ff5 is #b7f.

Color information

  • #ba7ff5 is a shade of blue-magenta.
  • Blue is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 24.08%
    • Magenta: 48.16%
    • Yellow: 0%
    • Key color - black: 3.92%
  • In the HSL model coordinates are:
    • Hue: 270° degrees
    • Saturation: 85.5%
    • Lightness: 72.9%
  • The values in the RGB color space are:
    • Red: 186 (72.94%)
    • Green: 127 (49.8%)
    • Blue: 245 (96.08%)

Conversions

Hex:
#ba7ff5
CMYK:
C: 24.08%, M: 48.16%, Y: 0%, K: 3.92%
RGB:
R: 186, G: 127, B: 245
HSL:
H: 270°, S: 85.5%, L: 72.9%

Color harmonies

#ba7ff5 color HTML and CSS codes

Example CSS code:

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

#ba7ff5 text/font color

How to set font color?

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

Font color is #ba7ff5.

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

#ba7ff5 background color

How to set background color?

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

Background color is #ba7ff5.

Compromise in colors is grey.
- Edi Rama