#9170BF

#9170bf ≈ Purple Mountain Majesty

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

#9170bf is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 56.86% red, 43.92% green and 74.9% blue; printed in CMYK it uses 24.08% cyan, 41.36% magenta, 0% yellow and 25.1% black. Its hue angle is 265.06°, with 38.16% saturation and 59.41% 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 5.27:1 (WCAG AA). The closest named color is Purple Mountain Majesty (#9678b6), ΔE 4.1.

Description generated from the measured properties of this color.

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

Readable text 3.98:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.27:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7f7f7f ≈ 0.003% of males
Achromatomaly #877a9d ≈ 0.001% of males
Protanopia #5c7fc2 ≈ 1.01% of males
Deuteranopia #637fbd ≈ 1.27% of males
Tritanopia #897d8e ≈ 0.0001% of males
Protanomaly #7579c1 ≈ 1.08% of males
Deuteranomaly #7879be ≈ 4.63% of males
Tritanomaly #8c78a4 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-9170bf {
  color: #9170bf;
}
Background
.bg-9170bf {
  background-color: #9170bf;
  color: #000000;
}
Border
.border-9170bf {
  border: 2px solid #9170bf;
}
CSS variables
:root {
  --color-primary: #9170bf;
  --color-primary-rgb: 145 112 191;
  --color-primary-hsl: 265 38% 59%;
}
Gradient
.gradient-9170bf {
  background: linear-gradient(135deg, #9170bf, #b870bf);
}
Colored shadow
.shadow-9170bf {
  box-shadow: 0 8px 24px rgb(145 112 191 / 0.35);
}

Purple Mountain Majesty
#9170bf  rgb(145, 112, 191)  hsl(265, 38%, 59%)  Purple Mountain Majesty
#9ebf70  rgb(158, 191, 112)  hsl(85, 38%, 59%)  Olivine
#bf9170  rgb(191, 145, 112)  hsl(25, 38%, 59%)  Camel
#70bf91  rgb(112, 191, 145)  hsl(145, 38%, 59%)  Dark Sea Green