#511CE8

#511ce8 ≈ Han Purple

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

#511ce8 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.98% green and 90.98% blue; printed in CMYK it uses 65.09% cyan, 87.93% magenta, 0% yellow and 9.02% black. Its hue angle is 255.59°, with 81.6% saturation and 50.98% 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.83:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 2.08.

Description generated from the measured properties of this color.

Conversions of #511ce8 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.0841

Readable text 7.83:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.68:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #525252 ≈ 0.003% of males
Achromatomaly #5242a4 ≈ 0.001% of males
Protanopia #0058ed ≈ 1.01% of males
Deuteranopia #004ae5 ≈ 1.27% of males
Tritanopia #00638a ≈ 0.0001% of males
Protanomaly #0047eb ≈ 1.08% of males
Deuteranomaly #003de6 ≈ 4.63% of males
Tritanomaly #164fb7 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Han Purple
#511ce8  rgb(81, 28, 232)  hsl(256, 82%, 51%)  Han Purple
#b3e81c  rgb(179, 232, 28)  hsl(76, 82%, 51%)  Spring Bud
#e8511c  rgb(232, 81, 28)  hsl(16, 82%, 51%)  Flame
#1ce851  rgb(28, 232, 81)  hsl(136, 82%, 51%)  Malachite