#512FD2

#512fd2 ≈ Han Purple

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

#512fd2 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 82.35% blue; printed in CMYK it uses 61.43% cyan, 77.62% magenta, 0% yellow and 17.65% black. Its hue angle is 252.52°, with 64.43% saturation and 50.39% 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.82:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 4.72.

Description generated from the measured properties of this color.

Conversions of #512fd2 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.0844

Readable text 7.82:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.69:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #525252 ≈ 0.003% of males
Achromatomaly #524697 ≈ 0.001% of males
Protanopia #0057d7 ≈ 1.01% of males
Deuteranopia #004ccf ≈ 1.27% of males
Tritanopia #005f80 ≈ 0.0001% of males
Protanomaly #004ad5 ≈ 1.08% of males
Deuteranomaly #0042d0 ≈ 4.63% of males
Tritanomaly #2b50a7 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-512fd2 {
  color: #512fd2;
}
Background
.bg-512fd2 {
  background-color: #512fd2;
  color: #ffffff;
}
Border
.border-512fd2 {
  border: 2px solid #512fd2;
}
CSS variables
:root {
  --color-primary: #512fd2;
  --color-primary-rgb: 81 47 210;
  --color-primary-hsl: 253 64% 50%;
}
Gradient
.gradient-512fd2 {
  background: linear-gradient(135deg, #512fd2, #a32fd2);
}
Colored shadow
.shadow-512fd2 {
  box-shadow: 0 8px 24px rgb(81 47 210 / 0.35);
}

Han Purple
#512fd2  rgb(81, 47, 210)  hsl(253, 64%, 50%)  Han Purple
#b0d22f  rgb(176, 210, 47)  hsl(73, 64%, 50%)  June Bud
#d2512f  rgb(210, 81, 47)  hsl(13, 64%, 50%)  Cinnabar
#2fd251  rgb(47, 210, 81)  hsl(133, 64%, 50%)  Malachite