#8940EF

#8940ef ≈ Blue Violet

  • violet
  • Lightness: medium
  • Saturation: strong
  • Cool

#8940ef is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 53.73% red, 25.1% green and 93.73% blue; printed in CMYK it uses 42.68% cyan, 73.22% magenta, 0% yellow and 6.27% black. Its hue angle is 265.03°, with 84.54% saturation and 59.41% 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.19:1 (WCAG AA). The closest named color is Blue Violet (#8a2be2), ΔE 4.13.

Description generated from the measured properties of this color.

Conversions of #8940ef 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.1522

Readable text 5.19:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.04:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6d6d6d ≈ 0.003% of males
Achromatomaly #795eb0 ≈ 0.001% of males
Protanopia #006ef4 ≈ 1.01% of males
Deuteranopia #006aec ≈ 1.27% of males
Tritanopia #6e6e95 ≈ 0.0001% of males
Protanomaly #3f5ff2 ≈ 1.08% of males
Deuteranomaly #475ced ≈ 4.63% of males
Tritanomaly #7a5fc0 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-8940ef {
  color: #8940ef;
}
Background
.bg-8940ef {
  background-color: #8940ef;
  color: #ffffff;
}
Border
.border-8940ef {
  border: 2px solid #8940ef;
}
CSS variables
:root {
  --color-primary: #8940ef;
  --color-primary-rgb: 137 64 239;
  --color-primary-hsl: 265 85% 59%;
}
Gradient
.gradient-8940ef {
  background: linear-gradient(135deg, #8940ef, #e140ef);
}
Colored shadow
.shadow-8940ef {
  box-shadow: 0 8px 24px rgb(137 64 239 / 0.35);
}

Blue Violet
#8940ef  rgb(137, 64, 239)  hsl(265, 85%, 59%)  Blue Violet
#a6ef40  rgb(166, 239, 64)  hsl(85, 85%, 59%)  Inchworm
#ef8940  rgb(239, 137, 64)  hsl(25, 85%, 59%)  Cadmium Orange
#40ef89  rgb(64, 239, 137)  hsl(145, 85%, 59%)  Medium Spring Green