#7871FF

#7871ff ≈ Medium Slate Blue

  • blue
  • Lightness: high
  • Saturation: strong
  • Cool

#7871ff is a color from the blue family, with high lightness and strong saturation. In the RGB model it is made of 47.06% red, 44.31% green and 100% blue; printed in CMYK it uses 52.94% cyan, 55.69% magenta, 0% yellow and 0% black. Its hue angle is 242.96°, with 100% saturation and 72.16% lightness in HSL. It is a cool color, often associated with trust, stability and focus. Designers typically use it for technology products, finance and banking and call-to-action buttons. Black text on this color reaches a contrast ratio of 5.6:1 (WCAG AA). The closest named color is Medium Slate Blue (#7b68ee), ΔE 3.71.

Description generated from the measured properties of this color.

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

Readable text 3.75:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.6:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #848484 ≈ 0.003% of males
Achromatomaly #7f7dc2 ≈ 0.001% of males
Protanopia #0089ff ≈ 1.01% of males
Deuteranopia #007ffc ≈ 1.27% of males
Tritanopia #3b92ad ≈ 0.0001% of males
Protanomaly #4d80ff ≈ 1.08% of males
Deuteranomaly #4879fd ≈ 4.63% of males
Tritanomaly #5a86d3 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-7871ff {
  color: #7871ff;
}
Background
.bg-7871ff {
  background-color: #7871ff;
  color: #000000;
}
Border
.border-7871ff {
  border: 2px solid #7871ff;
}
CSS variables
:root {
  --color-primary: #7871ff;
  --color-primary-rgb: 120 113 255;
  --color-primary-hsl: 243 100% 72%;
}
Gradient
.gradient-7871ff {
  background: linear-gradient(135deg, #7871ff, #bf71ff);
}
Colored shadow
.shadow-7871ff {
  box-shadow: 0 8px 24px rgb(120 113 255 / 0.35);
}

Medium Slate Blue
#7871ff  rgb(120, 113, 255)  hsl(243, 100%, 72%)  Medium Slate Blue
#f8ff71  rgb(248, 255, 113)  hsl(63, 100%, 72%)  Laser Lemon
#ff7871  rgb(255, 120, 113)  hsl(3, 100%, 72%)  Salmon
#71ff78  rgb(113, 255, 120)  hsl(123, 100%, 72%)  Spring Green