#8A7FEC

#8a7fec ≈ Medium Purple

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

#8a7fec is a color from the blue family, with high lightness and moderate saturation. In the RGB model it is made of 54.12% red, 49.8% green and 92.55% blue; printed in CMYK it uses 41.53% cyan, 46.19% magenta, 0% yellow and 7.45% black. Its hue angle is 246.06°, with 74.15% saturation and 71.18% 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 brand accents. Black text on this color reaches a contrast ratio of 6.33:1 (WCAG AA). The closest named color is Medium Purple (#9370db), ΔE 6.

Description generated from the measured properties of this color.

Conversions of #8a7fec 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.2664

Readable text 3.32:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 6.33:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #8d8d8d ≈ 0.003% of males
Achromatomaly #8c88bb ≈ 0.001% of males
Protanopia #5590f0 ≈ 1.01% of males
Deuteranopia #528ae9 ≈ 1.27% of males
Tritanopia #6d95aa ≈ 0.0001% of males
Protanomaly #6e8aee ≈ 1.08% of males
Deuteranomaly #6d86eb ≈ 4.63% of males
Tritanomaly #7a8dc8 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-8a7fec {
  color: #8a7fec;
}
Background
.bg-8a7fec {
  background-color: #8a7fec;
  color: #000000;
}
Border
.border-8a7fec {
  border: 2px solid #8a7fec;
}
CSS variables
:root {
  --color-primary: #8a7fec;
  --color-primary-rgb: 138 127 236;
  --color-primary-hsl: 246 74% 71%;
}
Gradient
.gradient-8a7fec {
  background: linear-gradient(135deg, #8a7fec, #c17fec);
}
Colored shadow
.shadow-8a7fec {
  box-shadow: 0 8px 24px rgb(138 127 236 / 0.35);
}

Medium Purple
#8a7fec  rgb(138, 127, 236)  hsl(246, 74%, 71%)  Medium Purple
#e1ec7f  rgb(225, 236, 127)  hsl(66, 74%, 71%)  Pastel Yellow
#ec8a7f  rgb(236, 138, 127)  hsl(6, 74%, 71%)  Salmon
#7fec8a  rgb(127, 236, 138)  hsl(126, 74%, 71%)  Light Green