#8A22EF

#8a22ef ≈ Blue Violet

  • violet
  • Lightness: medium
  • Saturation: vivid
  • Cool

#8a22ef is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 54.12% red, 13.33% green and 93.73% blue; printed in CMYK it uses 42.26% cyan, 85.77% magenta, 0% yellow and 6.27% black. Its hue angle is 270.44°, with 86.5% saturation and 53.53% 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 call-to-action buttons. White text on this color reaches a contrast ratio of 5.91:1 (WCAG AA). The closest named color is Blue Violet (#8a2be2), ΔE 1.61.

Description generated from the measured properties of this color.

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

Readable text 5.91:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.56:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #646464 ≈ 0.003% of males
Achromatomaly #7551ae ≈ 0.001% of males
Protanopia #0064f4 ≈ 1.01% of males
Deuteranopia #0062eb ≈ 1.27% of males
Tritanopia #70628f ≈ 0.0001% of males
Protanomaly #2f51f2 ≈ 1.08% of males
Deuteranomaly #3e50ed ≈ 4.63% of males
Tritanomaly #7b50bd ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-8a22ef {
  color: #8a22ef;
}
Background
.bg-8a22ef {
  background-color: #8a22ef;
  color: #ffffff;
}
Border
.border-8a22ef {
  border: 2px solid #8a22ef;
}
CSS variables
:root {
  --color-primary: #8a22ef;
  --color-primary-rgb: 138 34 239;
  --color-primary-hsl: 270 87% 54%;
}
Gradient
.gradient-8a22ef {
  background: linear-gradient(135deg, #8a22ef, #ef22ed);
}
Colored shadow
.shadow-8a22ef {
  box-shadow: 0 8px 24px rgb(138 34 239 / 0.35);
}

Blue Violet
#8a22ef  rgb(138, 34, 239)  hsl(270, 87%, 54%)  Blue Violet
#87ef22  rgb(135, 239, 34)  hsl(90, 87%, 54%)  Lawn Green
#ef8a22  rgb(239, 138, 34)  hsl(30, 87%, 54%)  Tangerine
#22ef8a  rgb(34, 239, 138)  hsl(150, 87%, 54%)  Medium Spring Green