#522BEF

#522bef ≈ Han Purple

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

#522bef is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 32.16% red, 16.86% green and 93.73% blue; printed in CMYK it uses 65.69% cyan, 82.01% magenta, 0% yellow and 6.27% black. Its hue angle is 251.94°, with 85.96% saturation and 55.29% 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 7.12:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 2.04.

Description generated from the measured properties of this color.

Conversions of #522bef 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.0975

Readable text 7.12:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.95:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #585858 ≈ 0.003% of males
Achromatomaly #564aaa ≈ 0.001% of males
Protanopia #005ff4 ≈ 1.01% of males
Deuteranopia #0050ec ≈ 1.27% of males
Tritanopia #006a90 ≈ 0.0001% of males
Protanomaly #004ff2 ≈ 1.08% of males
Deuteranomaly #0044ed ≈ 4.63% of males
Tritanomaly #0c57be ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-522bef {
  color: #522bef;
}
Background
.bg-522bef {
  background-color: #522bef;
  color: #ffffff;
}
Border
.border-522bef {
  border: 2px solid #522bef;
}
CSS variables
:root {
  --color-primary: #522bef;
  --color-primary-rgb: 82 43 239;
  --color-primary-hsl: 252 86% 55%;
}
Gradient
.gradient-522bef {
  background: linear-gradient(135deg, #522bef, #b42bef);
}
Colored shadow
.shadow-522bef {
  box-shadow: 0 8px 24px rgb(82 43 239 / 0.35);
}

Han Purple
#522bef  rgb(82, 43, 239)  hsl(252, 86%, 55%)  Han Purple
#c8ef2b  rgb(200, 239, 43)  hsl(72, 86%, 55%)  Electric Lime
#ef522b  rgb(239, 82, 43)  hsl(12, 86%, 55%)  Flame
#2bef52  rgb(43, 239, 82)  hsl(132, 86%, 55%)  Malachite