#511BE7

#511be7 ≈ Han Purple

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

#511be7 is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 31.76% red, 10.59% green and 90.59% blue; printed in CMYK it uses 64.94% cyan, 88.31% magenta, 0% yellow and 9.41% black. Its hue angle is 255.88°, with 80.95% saturation and 50.59% 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 7.89:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 2.24.

Description generated from the measured properties of this color.

Conversions of #511be7 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.083

Readable text 7.89:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.66:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #515151 ≈ 0.003% of males
Achromatomaly #5142a4 ≈ 0.001% of males
Protanopia #0058ec ≈ 1.01% of males
Deuteranopia #004ae4 ≈ 1.27% of males
Tritanopia #006289 ≈ 0.0001% of males
Protanomaly #0047ea ≈ 1.08% of males
Deuteranomaly #003ce5 ≈ 4.63% of males
Tritanomaly #174fb6 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-511be7 {
  color: #511be7;
}
Background
.bg-511be7 {
  background-color: #511be7;
  color: #ffffff;
}
Border
.border-511be7 {
  border: 2px solid #511be7;
}
CSS variables
:root {
  --color-primary: #511be7;
  --color-primary-rgb: 81 27 231;
  --color-primary-hsl: 256 81% 51%;
}
Gradient
.gradient-511be7 {
  background: linear-gradient(135deg, #511be7, #b71be7);
}
Colored shadow
.shadow-511be7 {
  box-shadow: 0 8px 24px rgb(81 27 231 / 0.35);
}

Han Purple
#511be7  rgb(81, 27, 231)  hsl(256, 81%, 51%)  Han Purple
#b1e71b  rgb(177, 231, 27)  hsl(76, 81%, 51%)  Inchworm
#e7511b  rgb(231, 81, 27)  hsl(16, 81%, 51%)  Flame
#1be751  rgb(27, 231, 81)  hsl(136, 81%, 51%)  Malachite