#540BEE

#540bee ≈ Han Purple

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

#540bee is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 32.94% red, 4.31% green and 93.33% blue; printed in CMYK it uses 64.71% cyan, 95.38% magenta, 0% yellow and 6.67% black. Its hue angle is 259.3°, with 91.16% saturation and 48.82% 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.9:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 1.99.

Description generated from the measured properties of this color.

Conversions of #540bee into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#6600ff
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.083

Readable text 7.9:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.66:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #515151 ≈ 0.003% of males
Achromatomaly #5240a8 ≈ 0.001% of males
Protanopia #0058f3 ≈ 1.01% of males
Deuteranopia #004aeb ≈ 1.27% of males
Tritanopia #00628c ≈ 0.0001% of males
Protanomaly #0045f1 ≈ 1.08% of males
Deuteranomaly #003aec ≈ 4.63% of males
Tritanomaly #1a4dbb ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-540bee {
  color: #540bee;
}
Background
.bg-540bee {
  background-color: #540bee;
  color: #ffffff;
}
Border
.border-540bee {
  border: 2px solid #540bee;
}
CSS variables
:root {
  --color-primary: #540bee;
  --color-primary-rgb: 84 11 238;
  --color-primary-hsl: 259 91% 49%;
}
Gradient
.gradient-540bee {
  background: linear-gradient(135deg, #540bee, #c60bee);
}
Colored shadow
.shadow-540bee {
  box-shadow: 0 8px 24px rgb(84 11 238 / 0.35);
}

Han Purple
#540bee  rgb(84, 11, 238)  hsl(259, 91%, 49%)  Han Purple
#a5ee0b  rgb(165, 238, 11)  hsl(79, 91%, 49%)  Spring Bud
#ee540b  rgb(238, 84, 11)  hsl(19, 91%, 49%)  Persimmon
#0bee54  rgb(11, 238, 84)  hsl(139, 91%, 49%)  Malachite