#512CE2

#512ce2 ≈ Han Purple

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

#512ce2 is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 31.76% red, 17.25% green and 88.63% blue; printed in CMYK it uses 64.16% cyan, 80.53% magenta, 0% yellow and 11.37% black. Its hue angle is 252.2°, with 75.83% saturation and 52.94% 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.48:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 2.95.

Description generated from the measured properties of this color.

Conversions of #512ce2 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.0904

Readable text 7.48:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.81:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #555555 ≈ 0.003% of males
Achromatomaly #5348a1 ≈ 0.001% of males
Protanopia #005be7 ≈ 1.01% of males
Deuteranopia #004edf ≈ 1.27% of males
Tritanopia #006589 ≈ 0.0001% of males
Protanomaly #004ce5 ≈ 1.08% of males
Deuteranomaly #0043e0 ≈ 4.63% of males
Tritanomaly #1d54b3 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Han Purple
#512ce2  rgb(81, 44, 226)  hsl(252, 76%, 53%)  Han Purple
#bde22c  rgb(189, 226, 44)  hsl(72, 76%, 53%)  Pear
#e2512c  rgb(226, 81, 44)  hsl(12, 76%, 53%)  Flame
#2ce251  rgb(44, 226, 81)  hsl(132, 76%, 53%)  Malachite