#8A7EED

#8a7eed ≈ Medium Purple

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

#8a7eed 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.41% green and 92.94% blue; printed in CMYK it uses 41.77% cyan, 46.84% magenta, 0% yellow and 7.06% black. Its hue angle is 246.49°, with 75.51% 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.29:1 (WCAG AA). The closest named color is Medium Purple (#9370db), ΔE 5.82.

Description generated from the measured properties of this color.

Conversions of #8a7eed 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.2644

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

Achromatopsia #8d8d8d ≈ 0.003% of males
Achromatomaly #8c87bb ≈ 0.001% of males
Protanopia #5290f1 ≈ 1.01% of males
Deuteranopia #5089ea ≈ 1.27% of males
Tritanopia #6d95aa ≈ 0.0001% of males
Protanomaly #6d89ef ≈ 1.08% of males
Deuteranomaly #6c85eb ≈ 4.63% of males
Tritanomaly #798cc8 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Purple
#8a7eed  rgb(138, 126, 237)  hsl(246, 76%, 71%)  Medium Purple
#e1ed7e  rgb(225, 237, 126)  hsl(66, 76%, 71%)  Pastel Yellow
#ed8a7e  rgb(237, 138, 126)  hsl(6, 76%, 71%)  Salmon
#7eed8a  rgb(126, 237, 138)  hsl(126, 76%, 71%)  Light Green