#512BFA

#512bfa ≈ Han Purple

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

#512bfa is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 31.76% red, 16.86% green and 98.04% blue; printed in CMYK it uses 67.6% cyan, 82.8% magenta, 0% yellow and 1.96% black. Its hue angle is 251.01°, with 95.39% saturation and 57.45% 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.83:1 (WCAG AA). The closest named color is Han Purple (#5218fa), ΔE 2.17.

Description generated from the measured properties of this color.

Conversions of #512bfa 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.1038

Readable text 6.83:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.08:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #5b5b5b ≈ 0.003% of males
Achromatomaly #574cb2 ≈ 0.001% of males
Protanopia #0062ff ≈ 1.01% of males
Deuteranopia #0052f7 ≈ 1.27% of males
Tritanopia #006e97 ≈ 0.0001% of males
Protanomaly #0052fd ≈ 1.08% of males
Deuteranomaly #0046f8 ≈ 4.63% of males
Tritanomaly #005bc6 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-512bfa {
  color: #512bfa;
}
Background
.bg-512bfa {
  background-color: #512bfa;
  color: #ffffff;
}
Border
.border-512bfa {
  border: 2px solid #512bfa;
}
CSS variables
:root {
  --color-primary: #512bfa;
  --color-primary-rgb: 81 43 250;
  --color-primary-hsl: 251 95% 57%;
}
Gradient
.gradient-512bfa {
  background: linear-gradient(135deg, #512bfa, #b82bfa);
}
Colored shadow
.shadow-512bfa {
  box-shadow: 0 8px 24px rgb(81 43 250 / 0.35);
}

Han Purple
#512bfa  rgb(81, 43, 250)  hsl(251, 95%, 57%)  Han Purple
#d4fa2b  rgb(212, 250, 43)  hsl(71, 95%, 57%)  Electric Lime
#fa512b  rgb(250, 81, 43)  hsl(11, 95%, 57%)  Coquelicot
#2bfa51  rgb(43, 250, 81)  hsl(131, 95%, 57%)  Lime