#786BB2

#786bb2 ≈ Purple Mountain Majesty

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

#786bb2 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.8% blue; printed in CMYK it uses 32.58% cyan, 39.89% magenta, 0% yellow and 30.2% black. Its hue angle is 250.99°, with 31.56% saturation and 55.88% 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.62:1 (WCAG AA). The closest named color is Purple Mountain Majesty (#9678b6), ΔE 8.16.

Description generated from the measured properties of this color.

Conversions of #786bb2 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.1772

Readable text 4.62: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 #5676b5 ≈ 1.01% of males
Deuteranopia #5673b0 ≈ 1.27% of males
Tritanopia #6a7886 ≈ 0.0001% of males
Protanomaly #6572b4 ≈ 1.08% of males
Deuteranomaly #6670b1 ≈ 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-786bb2 {
  color: #786bb2;
}
Background
.bg-786bb2 {
  background-color: #786bb2;
  color: #ffffff;
}
Border
.border-786bb2 {
  border: 2px solid #786bb2;
}
CSS variables
:root {
  --color-primary: #786bb2;
  --color-primary-rgb: 120 107 178;
  --color-primary-hsl: 251 32% 56%;
}
Gradient
.gradient-786bb2 {
  background: linear-gradient(135deg, #786bb2, #9c6bb2);
}
Colored shadow
.shadow-786bb2 {
  box-shadow: 0 8px 24px rgb(120 107 178 / 0.35);
}

Purple Mountain Majesty
#786bb2  rgb(120, 107, 178)  hsl(251, 32%, 56%)  Purple Mountain Majesty
#a5b26b  rgb(165, 178, 107)  hsl(71, 32%, 56%)  Olivine
#b2786b  rgb(178, 120, 107)  hsl(11, 32%, 56%)  Old Rose
#6bb278  rgb(107, 178, 120)  hsl(131, 32%, 56%)  Medium Sea Green