#A786C8

#a786c8 ≈ Purple Mountain Majesty

  • violet
  • Lightness: high
  • Saturation: moderate
  • Cool

#a786c8 is a color from the violet family, with high lightness and moderate saturation. In the RGB model it is made of 65.49% red, 52.55% green and 78.43% blue; printed in CMYK it uses 16.5% cyan, 33% magenta, 0% yellow and 21.57% black. Its hue angle is 270°, with 37.5% saturation and 65.49% 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. Black text on this color reaches a contrast ratio of 6.89:1 (WCAG AA). The closest named color is Purple Mountain Majesty (#9678b6), ΔE 5.26.

Description generated from the measured properties of this color.

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

Readable text 3.05:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 6.89:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #949494 ≈ 0.003% of males
Achromatomaly #9c8eab ≈ 0.001% of males
Protanopia #7992cb ≈ 1.01% of males
Deuteranopia #8094c6 ≈ 1.27% of males
Tritanopia #a2909e ≈ 0.0001% of males
Protanomaly #8e8eca ≈ 1.08% of males
Deuteranomaly #918fc7 ≈ 4.63% of males
Tritanomaly #a48cb0 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-a786c8 {
  color: #a786c8;
}
Background
.bg-a786c8 {
  background-color: #a786c8;
  color: #000000;
}
Border
.border-a786c8 {
  border: 2px solid #a786c8;
}
CSS variables
:root {
  --color-primary: #a786c8;
  --color-primary-rgb: 167 134 200;
  --color-primary-hsl: 270 38% 65%;
}
Gradient
.gradient-a786c8 {
  background: linear-gradient(135deg, #a786c8, #c886c8);
}
Colored shadow
.shadow-a786c8 {
  box-shadow: 0 8px 24px rgb(167 134 200 / 0.35);
}

Purple Mountain Majesty
#a786c8  rgb(167, 134, 200)  hsl(270, 38%, 65%)  Purple Mountain Majesty
#a7c886  rgb(167, 200, 134)  hsl(90, 38%, 65%)  Olivine
#c8a786  rgb(200, 167, 134)  hsl(30, 38%, 65%)  Tan
#86c8a7  rgb(134, 200, 167)  hsl(150, 38%, 65%)  Medium Aquamarine