#522BEB

#522beb ≈ Han Purple

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

#522beb 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 92.16% blue; printed in CMYK it uses 65.11% cyan, 81.7% magenta, 0% yellow and 7.84% black. Its hue angle is 252.19°, with 82.76% saturation and 54.51% 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.23:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 2.2.

Description generated from the measured properties of this color.

Conversions of #522beb 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.0952

Readable text 7.23:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.9:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #575757 ≈ 0.003% of males
Achromatomaly #5549a8 ≈ 0.001% of males
Protanopia #005ef0 ≈ 1.01% of males
Deuteranopia #0050e8 ≈ 1.27% of males
Tritanopia #00688e ≈ 0.0001% of males
Protanomaly #004eee ≈ 1.08% of males
Deuteranomaly #0044e9 ≈ 4.63% of males
Tritanomaly #1456bb ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Han Purple
#522beb  rgb(82, 43, 235)  hsl(252, 83%, 55%)  Han Purple
#c4eb2b  rgb(196, 235, 43)  hsl(72, 83%, 55%)  Pear
#eb522b  rgb(235, 82, 43)  hsl(12, 83%, 55%)  Flame
#2beb52  rgb(43, 235, 82)  hsl(132, 83%, 55%)  Malachite