#7851EC

#7851ec ≈ Majorelle Blue

  • violet
  • Lightness: high
  • Saturation: strong
  • Cool

#7851ec is a color from the violet family, with high lightness and strong saturation. In the RGB model it is made of 47.06% red, 31.76% green and 92.55% blue; printed in CMYK it uses 49.15% cyan, 65.68% magenta, 0% yellow and 7.45% black. Its hue angle is 255.1°, with 80.31% saturation and 62.16% 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.02:1 (WCAG AA). The closest named color is Majorelle Blue (#6050dc), ΔE 4.44.

Description generated from the measured properties of this color.

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

Readable text 5.02:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.19:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6f6f6f ≈ 0.003% of males
Achromatomaly #7364af ≈ 0.001% of males
Protanopia #0072f1 ≈ 1.01% of males
Deuteranopia #006be9 ≈ 1.27% of males
Tritanopia #507798 ≈ 0.0001% of males
Protanomaly #3967ef ≈ 1.08% of males
Deuteranomaly #3b62ea ≈ 4.63% of males
Tritanomaly #626abf ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-7851ec {
  color: #7851ec;
}
Background
.bg-7851ec {
  background-color: #7851ec;
  color: #ffffff;
}
Border
.border-7851ec {
  border: 2px solid #7851ec;
}
CSS variables
:root {
  --color-primary: #7851ec;
  --color-primary-rgb: 120 81 236;
  --color-primary-hsl: 255 80% 62%;
}
Gradient
.gradient-7851ec {
  background: linear-gradient(135deg, #7851ec, #c651ec);
}
Colored shadow
.shadow-7851ec {
  box-shadow: 0 8px 24px rgb(120 81 236 / 0.35);
}

Majorelle Blue
#7851ec  rgb(120, 81, 236)  hsl(255, 80%, 62%)  Majorelle Blue
#c5ec51  rgb(197, 236, 81)  hsl(75, 80%, 62%)  Inchworm
#ec7851  rgb(236, 120, 81)  hsl(15, 80%, 62%)  Burnt Sienna
#51ec78  rgb(81, 236, 120)  hsl(135, 80%, 62%)  Spring Green