#7A28EA

#7a28ea ≈ Blue Violet

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

#7a28ea is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 47.84% red, 15.69% green and 91.76% blue; printed in CMYK it uses 47.86% cyan, 82.91% magenta, 0% yellow and 8.24% black. Its hue angle is 265.36°, with 82.2% saturation and 53.73% 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.33:1 (WCAG AA). The closest named color is Blue Violet (#8a2be2), ΔE 2.75.

Description generated from the measured properties of this color.

Conversions of #7a28ea 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.116

Readable text 6.33:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.32:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #606060 ≈ 0.003% of males
Achromatomaly #6b4fa9 ≈ 0.001% of males
Protanopia #0061ef ≈ 1.01% of males
Deuteranopia #005ce7 ≈ 1.27% of males
Tritanopia #57638d ≈ 0.0001% of males
Protanomaly #1650ed ≈ 1.08% of males
Deuteranomaly #264ce8 ≈ 4.63% of males
Tritanomaly #6752ba ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-7a28ea {
  color: #7a28ea;
}
Background
.bg-7a28ea {
  background-color: #7a28ea;
  color: #ffffff;
}
Border
.border-7a28ea {
  border: 2px solid #7a28ea;
}
CSS variables
:root {
  --color-primary: #7a28ea;
  --color-primary-rgb: 122 40 234;
  --color-primary-hsl: 265 82% 54%;
}
Gradient
.gradient-7a28ea {
  background: linear-gradient(135deg, #7a28ea, #db28ea);
}
Colored shadow
.shadow-7a28ea {
  box-shadow: 0 8px 24px rgb(122 40 234 / 0.35);
}

Blue Violet
#7a28ea  rgb(122, 40, 234)  hsl(265, 82%, 54%)  Blue Violet
#98ea28  rgb(152, 234, 40)  hsl(85, 82%, 54%)  Inchworm
#ea7a28  rgb(234, 122, 40)  hsl(25, 82%, 54%)  Pumpkin
#28ea7a  rgb(40, 234, 122)  hsl(145, 82%, 54%)  Spring Green