#8A6FE2

#8a6fe2 ≈ Medium Purple

  • violet
  • Lightness: high
  • Saturation: moderate
  • Cool

#8a6fe2 is a color from the violet family, with high lightness and moderate saturation. In the RGB model it is made of 54.12% red, 43.53% green and 88.63% blue; printed in CMYK it uses 38.94% cyan, 50.88% magenta, 0% yellow and 11.37% black. Its hue angle is 254.09°, with 66.47% saturation and 66.08% 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. Black text on this color reaches a contrast ratio of 5.45:1 (WCAG AA). The closest named color is Medium Purple (#9370db), ΔE 2.4.

Description generated from the measured properties of this color.

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

Readable text 3.85:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.45:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #828282 ≈ 0.003% of males
Achromatomaly #857bb1 ≈ 0.001% of males
Protanopia #3f84e6 ≈ 1.01% of males
Deuteranopia #4380df ≈ 1.27% of males
Tritanopia #73869e ≈ 0.0001% of males
Protanomaly #667ce4 ≈ 1.08% of males
Deuteranomaly #6779e0 ≈ 4.63% of males
Tritanomaly #7d7ebd ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-8a6fe2 {
  color: #8a6fe2;
}
Background
.bg-8a6fe2 {
  background-color: #8a6fe2;
  color: #000000;
}
Border
.border-8a6fe2 {
  border: 2px solid #8a6fe2;
}
CSS variables
:root {
  --color-primary: #8a6fe2;
  --color-primary-rgb: 138 111 226;
  --color-primary-hsl: 254 66% 66%;
}
Gradient
.gradient-8a6fe2 {
  background: linear-gradient(135deg, #8a6fe2, #c46fe2);
}
Colored shadow
.shadow-8a6fe2 {
  box-shadow: 0 8px 24px rgb(138 111 226 / 0.35);
}

Medium Purple
#8a6fe2  rgb(138, 111, 226)  hsl(254, 66%, 66%)  Medium Purple
#c7e26f  rgb(199, 226, 111)  hsl(74, 66%, 66%)  June Bud
#e28a6f  rgb(226, 138, 111)  hsl(14, 66%, 66%)  Dark Salmon
#6fe28a  rgb(111, 226, 138)  hsl(134, 66%, 66%)  Pastel Green