#512EFF

#512eff ≈ Han Purple

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

#512eff is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 31.76% red, 18.04% green and 100% blue; printed in CMYK it uses 68.24% cyan, 81.96% magenta, 0% yellow and 0% black. Its hue angle is 250.05°, with 100% saturation and 59.02% 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.59:1 (WCAG AA). The closest named color is Han Purple (#5218fa), ΔE 2.92.

Description generated from the measured properties of this color.

Conversions of #512eff 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.1092

Readable text 6.59:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.18:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #5d5d5d ≈ 0.003% of males
Achromatomaly #584eb6 ≈ 0.001% of males
Protanopia #0065ff ≈ 1.01% of males
Deuteranopia #0054fc ≈ 1.27% of males
Tritanopia #00719a ≈ 0.0001% of males
Protanomaly #0054ff ≈ 1.08% of males
Deuteranomaly #0048fd ≈ 4.63% of males
Tritanomaly #005ecb ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-512eff {
  color: #512eff;
}
Background
.bg-512eff {
  background-color: #512eff;
  color: #ffffff;
}
Border
.border-512eff {
  border: 2px solid #512eff;
}
CSS variables
:root {
  --color-primary: #512eff;
  --color-primary-rgb: 81 46 255;
  --color-primary-hsl: 250 100% 59%;
}
Gradient
.gradient-512eff {
  background: linear-gradient(135deg, #512eff, #ba2eff);
}
Colored shadow
.shadow-512eff {
  box-shadow: 0 8px 24px rgb(81 46 255 / 0.35);
}

Han Purple
#512eff  rgb(81, 46, 255)  hsl(250, 100%, 59%)  Han Purple
#dcff2e  rgb(220, 255, 46)  hsl(70, 100%, 59%)  Chartreuse Yellow
#ff512e  rgb(255, 81, 46)  hsl(10, 100%, 59%)  Tomato
#2eff51  rgb(46, 255, 81)  hsl(130, 100%, 59%)  Lime