#512FE2

#512fe2 ≈ Han Purple

  • violet
  • Lightness: medium
  • Saturation: strong
  • Cool

#512fe2 is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 31.76% red, 18.43% green and 88.63% blue; printed in CMYK it uses 64.16% cyan, 79.2% magenta, 0% yellow and 11.37% black. Its hue angle is 251.4°, with 75.53% saturation and 53.53% 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 brand accents. White text on this color reaches a contrast ratio of 7.36:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 3.2.

Description generated from the measured properties of this color.

Conversions of #512fe2 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#6633cc
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.0927

Readable text 7.36:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.85:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #565656 ≈ 0.003% of males
Achromatomaly #5449a2 ≈ 0.001% of males
Protanopia #005ce7 ≈ 1.01% of males
Deuteranopia #004fdf ≈ 1.27% of males
Tritanopia #006689 ≈ 0.0001% of males
Protanomaly #004ee5 ≈ 1.08% of males
Deuteranomaly #0044e0 ≈ 4.63% of males
Tritanomaly #1d55b4 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-512fe2 {
  color: #512fe2;
}
Background
.bg-512fe2 {
  background-color: #512fe2;
  color: #ffffff;
}
Border
.border-512fe2 {
  border: 2px solid #512fe2;
}
CSS variables
:root {
  --color-primary: #512fe2;
  --color-primary-rgb: 81 47 226;
  --color-primary-hsl: 251 76% 54%;
}
Gradient
.gradient-512fe2 {
  background: linear-gradient(135deg, #512fe2, #ab2fe2);
}
Colored shadow
.shadow-512fe2 {
  box-shadow: 0 8px 24px rgb(81 47 226 / 0.35);
}

Han Purple
#512fe2  rgb(81, 47, 226)  hsl(251, 76%, 54%)  Han Purple
#c0e22f  rgb(192, 226, 47)  hsl(71, 76%, 54%)  Pear
#e2512f  rgb(226, 81, 47)  hsl(11, 76%, 54%)  Flame
#2fe251  rgb(47, 226, 81)  hsl(131, 76%, 54%)  Malachite