#7040FA

#7040fa ≈ Majorelle Blue

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

#7040fa is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 43.92% red, 25.1% green and 98.04% blue; printed in CMYK it uses 55.2% cyan, 74.4% magenta, 0% yellow and 1.96% black. Its hue angle is 255.48°, with 94.9% saturation and 61.57% 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 5.52:1 (WCAG AA). The closest named color is Majorelle Blue (#6050dc), ΔE 5.26.

Description generated from the measured properties of this color.

Conversions of #7040fa 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.1401

Readable text 5.52:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.8:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #696969 ≈ 0.003% of males
Achromatomaly #6c5bb6 ≈ 0.001% of males
Protanopia #006dff ≈ 1.01% of males
Deuteranopia #0063f7 ≈ 1.27% of males
Tritanopia #2f749b ≈ 0.0001% of males
Protanomaly #005efd ≈ 1.08% of males
Deuteranomaly #0057f8 ≈ 4.63% of males
Tritanomaly #5164c8 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-7040fa {
  color: #7040fa;
}
Background
.bg-7040fa {
  background-color: #7040fa;
  color: #ffffff;
}
Border
.border-7040fa {
  border: 2px solid #7040fa;
}
CSS variables
:root {
  --color-primary: #7040fa;
  --color-primary-rgb: 112 64 250;
  --color-primary-hsl: 255 95% 62%;
}
Gradient
.gradient-7040fa {
  background: linear-gradient(135deg, #7040fa, #cd40fa);
}
Colored shadow
.shadow-7040fa {
  box-shadow: 0 8px 24px rgb(112 64 250 / 0.35);
}

Majorelle Blue
#7040fa  rgb(112, 64, 250)  hsl(255, 95%, 62%)  Majorelle Blue
#cafa40  rgb(202, 250, 64)  hsl(75, 95%, 62%)  Electric Lime
#fa7040  rgb(250, 112, 64)  hsl(15, 95%, 62%)  Coral
#40fa70  rgb(64, 250, 112)  hsl(135, 95%, 62%)  Spring Green