#786CA0

#786ca0 ≈ Purple Mountain Majesty

  • violet
  • Lightness: medium
  • Saturation: muted
  • Cool

#786ca0 is a color from the violet family, with medium lightness and muted saturation. In the RGB model it is made of 47.06% red, 42.35% green and 62.75% blue; printed in CMYK it uses 25% cyan, 32.5% magenta, 0% yellow and 37.25% black. Its hue angle is 253.85°, with 21.49% saturation and 52.55% 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.72:1 (WCAG AA). The closest named color is Purple Mountain Majesty (#9678b6), ΔE 7.92.

Description generated from the measured properties of this color.

Conversions of #786ca0 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.1726

Readable text 4.72:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.45:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #737373 ≈ 0.003% of males
Achromatomaly #757087 ≈ 0.001% of males
Protanopia #5f74a2 ≈ 1.01% of males
Deuteranopia #60739f ≈ 1.27% of males
Tritanopia #70757f ≈ 0.0001% of males
Protanomaly #6a71a1 ≈ 1.08% of males
Deuteranomaly #6b709f ≈ 4.63% of males
Tritanomaly #73718d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-786ca0 {
  color: #786ca0;
}
Background
.bg-786ca0 {
  background-color: #786ca0;
  color: #ffffff;
}
Border
.border-786ca0 {
  border: 2px solid #786ca0;
}
CSS variables
:root {
  --color-primary: #786ca0;
  --color-primary-rgb: 120 108 160;
  --color-primary-hsl: 254 21% 53%;
}
Gradient
.gradient-786ca0 {
  background: linear-gradient(135deg, #786ca0, #926ca0);
}
Colored shadow
.shadow-786ca0 {
  box-shadow: 0 8px 24px rgb(120 108 160 / 0.35);
}

Purple Mountain Majesty
#786ca0  rgb(120, 108, 160)  hsl(254, 21%, 53%)  Purple Mountain Majesty
#94a06c  rgb(148, 160, 108)  hsl(74, 21%, 53%)  Moss Green
#a0786c  rgb(160, 120, 108)  hsl(14, 21%, 53%)  Beaver
#6ca078  rgb(108, 160, 120)  hsl(134, 21%, 53%)  Asparagus