#7E52FF

#7e52ff ≈ Medium Slate Blue

  • violet
  • Lightness: high
  • Saturation: strong
  • Cool

#7e52ff is a color from the violet family, with high lightness and strong saturation. In the RGB model it is made of 49.41% red, 32.16% green and 100% blue; printed in CMYK it uses 50.59% cyan, 67.84% magenta, 0% yellow and 0% black. Its hue angle is 255.26°, with 100% saturation and 66.08% 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.63:1 (WCAG AA). The closest named color is Medium Slate Blue (#7b68ee), ΔE 5.77.

Description generated from the measured properties of this color.

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

Readable text 4.63:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.54:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #757575 ≈ 0.003% of males
Achromatomaly #7969bd ≈ 0.001% of males
Protanopia #0078ff ≈ 1.01% of males
Deuteranopia #0070fc ≈ 1.27% of males
Tritanopia #4e7ea2 ≈ 0.0001% of males
Protanomaly #336bff ≈ 1.08% of males
Deuteranomaly #3565fd ≈ 4.63% of males
Tritanomaly #656fce ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-7e52ff {
  color: #7e52ff;
}
Background
.bg-7e52ff {
  background-color: #7e52ff;
  color: #ffffff;
}
Border
.border-7e52ff {
  border: 2px solid #7e52ff;
}
CSS variables
:root {
  --color-primary: #7e52ff;
  --color-primary-rgb: 126 82 255;
  --color-primary-hsl: 255 100% 66%;
}
Gradient
.gradient-7e52ff {
  background: linear-gradient(135deg, #7e52ff, #d552ff);
}
Colored shadow
.shadow-7e52ff {
  box-shadow: 0 8px 24px rgb(126 82 255 / 0.35);
}

Medium Slate Blue
#7e52ff  rgb(126, 82, 255)  hsl(255, 100%, 66%)  Medium Slate Blue
#d3ff52  rgb(211, 255, 82)  hsl(75, 100%, 66%)  Electric Lime
#ff7e52  rgb(255, 126, 82)  hsl(15, 100%, 66%)  Coral
#52ff7e  rgb(82, 255, 126)  hsl(135, 100%, 66%)  Spring Green