#9158F8

#9158f8 ≈ Medium Slate Blue

  • violet
  • Lightness: high
  • Saturation: strong
  • Cool

#9158f8 is a color from the violet family, with high lightness and strong saturation. In the RGB model it is made of 56.86% red, 34.51% green and 97.25% blue; printed in CMYK it uses 41.53% cyan, 64.52% magenta, 0% yellow and 2.75% black. Its hue angle is 261.38°, with 91.95% saturation and 65.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 call-to-action buttons. Black text on this color reaches a contrast ratio of 4.96:1 (WCAG AA). The closest named color is Medium Slate Blue (#7b68ee), ΔE 5.51.

Description generated from the measured properties of this color.

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

Readable text 4.24:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.96:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7b7b7b ≈ 0.003% of males
Achromatomaly #846fbb ≈ 0.001% of males
Protanopia #007cfd ≈ 1.01% of males
Deuteranopia #0078f5 ≈ 1.27% of males
Tritanopia #767ea1 ≈ 0.0001% of males
Protanomaly #526ffb ≈ 1.08% of males
Deuteranomaly #586df6 ≈ 4.63% of males
Tritanomaly #8270ca ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-9158f8 {
  color: #9158f8;
}
Background
.bg-9158f8 {
  background-color: #9158f8;
  color: #000000;
}
Border
.border-9158f8 {
  border: 2px solid #9158f8;
}
CSS variables
:root {
  --color-primary: #9158f8;
  --color-primary-rgb: 145 88 248;
  --color-primary-hsl: 261 92% 66%;
}
Gradient
.gradient-9158f8 {
  background: linear-gradient(135deg, #9158f8, #e158f8);
}
Colored shadow
.shadow-9158f8 {
  box-shadow: 0 8px 24px rgb(145 88 248 / 0.35);
}

Medium Slate Blue
#9158f8  rgb(145, 88, 248)  hsl(261, 92%, 66%)  Medium Slate Blue
#bff858  rgb(191, 248, 88)  hsl(81, 92%, 66%)  Inchworm
#f89158  rgb(248, 145, 88)  hsl(21, 92%, 66%)  Mango Tango
#58f891  rgb(88, 248, 145)  hsl(141, 92%, 66%)  Medium Spring Green