#9E40EA

#9e40ea ≈ Vivid Violet

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

#9e40ea is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 61.96% red, 25.1% green and 91.76% blue; printed in CMYK it uses 32.48% cyan, 72.65% magenta, 0% yellow and 8.24% black. Its hue angle is 273.18°, with 80.19% saturation and 58.43% 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 4.8:1 (WCAG AA). The closest named color is Vivid Violet (#9f00ff), ΔE 5.17.

Description generated from the measured properties of this color.

Conversions of #9e40ea 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.1688

Readable text 4.8:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.38:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #727272 ≈ 0.003% of males
Achromatomaly #8662af ≈ 0.001% of males
Protanopia #0070ef ≈ 1.01% of males
Deuteranopia #0072e7 ≈ 1.27% of males
Tritanopia #906992 ≈ 0.0001% of males
Protanomaly #5960ed ≈ 1.08% of males
Deuteranomaly #6362e8 ≈ 4.63% of males
Tritanomaly #965cbc ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-9e40ea {
  color: #9e40ea;
}
Background
.bg-9e40ea {
  background-color: #9e40ea;
  color: #ffffff;
}
Border
.border-9e40ea {
  border: 2px solid #9e40ea;
}
CSS variables
:root {
  --color-primary: #9e40ea;
  --color-primary-rgb: 158 64 234;
  --color-primary-hsl: 273 80% 58%;
}
Gradient
.gradient-9e40ea {
  background: linear-gradient(135deg, #9e40ea, #ea40e1);
}
Colored shadow
.shadow-9e40ea {
  box-shadow: 0 8px 24px rgb(158 64 234 / 0.35);
}

Vivid Violet
#9e40ea  rgb(158, 64, 234)  hsl(273, 80%, 58%)  Vivid Violet
#8cea40  rgb(140, 234, 64)  hsl(93, 80%, 58%)  Inchworm
#ea9e40  rgb(234, 158, 64)  hsl(33, 80%, 58%)  Carrot Orange
#40ea9e  rgb(64, 234, 158)  hsl(153, 80%, 58%)  Medium Spring Green