⤺ color picker
0
Reddit

#d7a1fc Color Hex

Hex color #d7a1fc, RGB(215, 161, 252) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.


The hex color code #d7a1fc is a shade of blue-magenta. In a RGB color space it is composed of 84.31% red, 63.14% green and 98.82% blue. In HSL notation it has 275.6° hue, 93.8% saturation and 81% lightness. The process color (CMYK) is combination of 14.68% cyan, 36.11% magenta, 0% yellow and 1.18% key (black). The closest short hexadecimal code of #d7a1fc is #daf.

Color information

  • #d7a1fc is a shade of blue-magenta.
  • Blue is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 14.68%
    • Magenta: 36.11%
    • Yellow: 0%
    • Key color - black: 1.18%
  • In the HSL model coordinates are:
    • Hue: 275.6° degrees
    • Saturation: 93.8%
    • Lightness: 81%
  • The values in the RGB color space are:
    • Red: 215 (84.31%)
    • Green: 161 (63.14%)
    • Blue: 252 (98.82%)

Conversions

Hex:
#d7a1fc
CMYK:
C: 14.68%, M: 36.11%, Y: 0%, K: 1.18%
RGB:
R: 215, G: 161, B: 252
HSL:
H: 275.6°, S: 93.8%, L: 81%

Color harmonies

#d7a1fc color HTML and CSS codes

Example CSS code:

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

#d7a1fc text/font color

How to set font color?

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

Font color is #d7a1fc.

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

#d7a1fc background color

How to set background color?

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

Background color is #d7a1fc.

Compromise in colors is grey.
- Edi Rama