#7158C0

#7158c0 ≈ Slate Blue

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

#7158c0 is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 44.31% red, 34.51% green and 75.29% blue; printed in CMYK it uses 41.15% cyan, 54.17% magenta, 0% yellow and 24.71% black. Its hue angle is 254.42°, with 45.22% saturation and 54.9% 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 5.44:1 (WCAG AA). The closest named color is Slate Blue (#6a5acd), ΔE 2.72.

Description generated from the measured properties of this color.

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

Readable text 5.44:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.86:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6a6a6a ≈ 0.003% of males
Achromatomaly #6d6394 ≈ 0.001% of males
Protanopia #276bc4 ≈ 1.01% of males
Deuteranopia #2b67be ≈ 1.27% of males
Tritanopia #5b6e83 ≈ 0.0001% of males
Protanomaly #4f64c2 ≈ 1.08% of males
Deuteranomaly #5062bf ≈ 4.63% of males
Tritanomaly #65669f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-7158c0 {
  color: #7158c0;
}
Background
.bg-7158c0 {
  background-color: #7158c0;
  color: #ffffff;
}
Border
.border-7158c0 {
  border: 2px solid #7158c0;
}
CSS variables
:root {
  --color-primary: #7158c0;
  --color-primary-rgb: 113 88 192;
  --color-primary-hsl: 254 45% 55%;
}
Gradient
.gradient-7158c0 {
  background: linear-gradient(135deg, #7158c0, #a558c0);
}
Colored shadow
.shadow-7158c0 {
  box-shadow: 0 8px 24px rgb(113 88 192 / 0.35);
}

Slate Blue
#7158c0  rgb(113, 88, 192)  hsl(254, 45%, 55%)  Slate Blue
#a7c058  rgb(167, 192, 88)  hsl(74, 45%, 55%)  Yellow Green
#c07158  rgb(192, 113, 88)  hsl(14, 45%, 55%)  Terra Cotta
#58c071  rgb(88, 192, 113)  hsl(134, 45%, 55%)  Emerald