#8E21EB

#8e21eb ≈ Blue Violet

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

#8e21eb is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 55.69% red, 12.94% green and 92.16% blue; printed in CMYK it uses 39.57% cyan, 85.96% magenta, 0% yellow and 7.84% black. Its hue angle is 272.38°, with 83.47% saturation and 52.55% 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.89:1 (WCAG AA). The closest named color is Blue Violet (#8a2be2), ΔE 1.26.

Description generated from the measured properties of this color.

Conversions of #8e21eb 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.1284

Readable text 5.89:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.57:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #646464 ≈ 0.003% of males
Achromatomaly #7751ab ≈ 0.001% of males
Protanopia #0063f0 ≈ 1.01% of males
Deuteranopia #0063e7 ≈ 1.27% of males
Tritanopia #795f8c ≈ 0.0001% of males
Protanomaly #3951ee ≈ 1.08% of males
Deuteranomaly #4651e9 ≈ 4.63% of males
Tritanomaly #824eba ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-8e21eb {
  color: #8e21eb;
}
Background
.bg-8e21eb {
  background-color: #8e21eb;
  color: #ffffff;
}
Border
.border-8e21eb {
  border: 2px solid #8e21eb;
}
CSS variables
:root {
  --color-primary: #8e21eb;
  --color-primary-rgb: 142 33 235;
  --color-primary-hsl: 272 83% 53%;
}
Gradient
.gradient-8e21eb {
  background: linear-gradient(135deg, #8e21eb, #eb21e3);
}
Colored shadow
.shadow-8e21eb {
  box-shadow: 0 8px 24px rgb(142 33 235 / 0.35);
}

Blue Violet
#8e21eb  rgb(142, 33, 235)  hsl(272, 83%, 53%)  Blue Violet
#7eeb21  rgb(126, 235, 33)  hsl(92, 83%, 53%)  Lawn Green
#eb8e21  rgb(235, 142, 33)  hsl(32, 83%, 53%)  Carrot Orange
#21eb8e  rgb(33, 235, 142)  hsl(152, 83%, 53%)  Medium Spring Green