#8A7CF5

#8a7cf5 ≈ Medium Purple

  • blue
  • Lightness: high
  • Saturation: moderate
  • Cool

#8a7cf5 is a color from the blue family, with high lightness and moderate saturation. In the RGB model it is made of 54.12% red, 48.63% green and 96.08% blue; printed in CMYK it uses 43.67% cyan, 49.39% magenta, 0% yellow and 3.92% black. Its hue angle is 246.94°, with 85.82% saturation and 72.35% 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 6.28:1 (WCAG AA). The closest named color is Medium Purple (#9370db), ΔE 6.05.

Description generated from the measured properties of this color.

Conversions of #8a7cf5 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.2641

Readable text 3.34:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 6.28:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #8c8c8c ≈ 0.003% of males
Achromatomaly #8b86bf ≈ 0.001% of males
Protanopia #4790f9 ≈ 1.01% of males
Deuteranopia #4589f2 ≈ 1.27% of males
Tritanopia #6995ad ≈ 0.0001% of males
Protanomaly #6988f8 ≈ 1.08% of males
Deuteranomaly #6784f3 ≈ 4.63% of males
Tritanomaly #778cce ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-8a7cf5 {
  color: #8a7cf5;
}
Background
.bg-8a7cf5 {
  background-color: #8a7cf5;
  color: #000000;
}
Border
.border-8a7cf5 {
  border: 2px solid #8a7cf5;
}
CSS variables
:root {
  --color-primary: #8a7cf5;
  --color-primary-rgb: 138 124 245;
  --color-primary-hsl: 247 86% 72%;
}
Gradient
.gradient-8a7cf5 {
  background: linear-gradient(135deg, #8a7cf5, #c67cf5);
}
Colored shadow
.shadow-8a7cf5 {
  box-shadow: 0 8px 24px rgb(138 124 245 / 0.35);
}

Medium Purple
#8a7cf5  rgb(138, 124, 245)  hsl(247, 86%, 72%)  Medium Purple
#e7f57c  rgb(231, 245, 124)  hsl(67, 86%, 72%)  Pastel Yellow
#f58a7c  rgb(245, 138, 124)  hsl(7, 86%, 72%)  Salmon
#7cf58a  rgb(124, 245, 138)  hsl(127, 86%, 72%)  Light Green