#8F40EA

#8f40ea ≈ Blue Violet

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

#8f40ea is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 56.08% red, 25.1% green and 91.76% blue; printed in CMYK it uses 38.89% cyan, 72.65% magenta, 0% yellow and 8.24% black. Its hue angle is 267.88°, 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 5.14:1 (WCAG AA). The closest named color is Blue Violet (#8a2be2), ΔE 4.06.

Description generated from the measured properties of this color.

Conversions of #8f40ea 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.1545

Readable text 5.14:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.09:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6e6e6e ≈ 0.003% of males
Achromatomaly #7c5fae ≈ 0.001% of males
Protanopia #006def ≈ 1.01% of males
Deuteranopia #006ce7 ≈ 1.27% of males
Tritanopia #7a6b92 ≈ 0.0001% of males
Protanomaly #495eed ≈ 1.08% of males
Deuteranomaly #525ee8 ≈ 4.63% of males
Tritanomaly #835dbc ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Blue Violet
#8f40ea  rgb(143, 64, 234)  hsl(268, 80%, 58%)  Blue Violet
#9bea40  rgb(155, 234, 64)  hsl(88, 80%, 58%)  Inchworm
#ea8f40  rgb(234, 143, 64)  hsl(28, 80%, 58%)  Cadmium Orange
#40ea8f  rgb(64, 234, 143)  hsl(148, 80%, 58%)  Medium Spring Green