#786BB1

#786bb1 ≈ Purple Mountain Majesty

  • violet
  • Lightness: medium
  • Saturation: moderate
  • Cool

#786bb1 is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 47.06% red, 41.96% green and 69.41% blue; printed in CMYK it uses 32.2% cyan, 39.55% magenta, 0% yellow and 30.59% black. Its hue angle is 251.14°, with 30.97% saturation and 55.69% lightness in HSL. It is a cool color, often associated with imagination, spirituality and luxury. Designers typically use it for beauty and cosmetics, creative studios and brand accents. White text on this color reaches a contrast ratio of 4.63:1 (WCAG AA). The closest named color is Purple Mountain Majesty (#9678b6), ΔE 8.11.

Description generated from the measured properties of this color.

Conversions of #786bb1 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#666699
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.1768

Readable text 4.63:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.54:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #757575 ≈ 0.003% of males
Achromatomaly #767191 ≈ 0.001% of males
Protanopia #5676b4 ≈ 1.01% of males
Deuteranopia #5773af ≈ 1.27% of males
Tritanopia #6b7885 ≈ 0.0001% of males
Protanomaly #6572b3 ≈ 1.08% of males
Deuteranomaly #6670b0 ≈ 4.63% of males
Tritanomaly #707399 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-786bb1 {
  color: #786bb1;
}
Background
.bg-786bb1 {
  background-color: #786bb1;
  color: #ffffff;
}
Border
.border-786bb1 {
  border: 2px solid #786bb1;
}
CSS variables
:root {
  --color-primary: #786bb1;
  --color-primary-rgb: 120 107 177;
  --color-primary-hsl: 251 31% 56%;
}
Gradient
.gradient-786bb1 {
  background: linear-gradient(135deg, #786bb1, #9b6bb1);
}
Colored shadow
.shadow-786bb1 {
  box-shadow: 0 8px 24px rgb(120 107 177 / 0.35);
}

Purple Mountain Majesty
#786bb1  rgb(120, 107, 177)  hsl(251, 31%, 56%)  Purple Mountain Majesty
#a4b16b  rgb(164, 177, 107)  hsl(71, 31%, 56%)  Olivine
#b1786b  rgb(177, 120, 107)  hsl(11, 31%, 56%)  Old Rose
#6bb178  rgb(107, 177, 120)  hsl(131, 31%, 56%)  Medium Sea Green