#7E28EC

#7e28ec ≈ Blue Violet

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

#7e28ec is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 49.41% red, 15.69% green and 92.55% blue; printed in CMYK it uses 46.61% cyan, 83.05% magenta, 0% yellow and 7.45% black. Its hue angle is 266.33°, with 83.76% saturation and 54.12% 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 6.17:1 (WCAG AA). The closest named color is Blue Violet (#8a2be2), ΔE 2.29.

Description generated from the measured properties of this color.

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

Readable text 6.17:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.4:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #616161 ≈ 0.003% of males
Achromatomaly #6e50ab ≈ 0.001% of males
Protanopia #0063f1 ≈ 1.01% of males
Deuteranopia #005ee9 ≈ 1.27% of males
Tritanopia #5d648e ≈ 0.0001% of males
Protanomaly #1e51ef ≈ 1.08% of males
Deuteranomaly #2c4eea ≈ 4.63% of males
Tritanomaly #6c52bb ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-7e28ec {
  color: #7e28ec;
}
Background
.bg-7e28ec {
  background-color: #7e28ec;
  color: #ffffff;
}
Border
.border-7e28ec {
  border: 2px solid #7e28ec;
}
CSS variables
:root {
  --color-primary: #7e28ec;
  --color-primary-rgb: 126 40 236;
  --color-primary-hsl: 266 84% 54%;
}
Gradient
.gradient-7e28ec {
  background: linear-gradient(135deg, #7e28ec, #e028ec);
}
Colored shadow
.shadow-7e28ec {
  box-shadow: 0 8px 24px rgb(126 40 236 / 0.35);
}

Blue Violet
#7e28ec  rgb(126, 40, 236)  hsl(266, 84%, 54%)  Blue Violet
#96ec28  rgb(150, 236, 40)  hsl(86, 84%, 54%)  Spring Bud
#ec7e28  rgb(236, 126, 40)  hsl(26, 84%, 54%)  Cadmium Orange
#28ec7e  rgb(40, 236, 126)  hsl(146, 84%, 54%)  Spring Green