#804CEB

#804ceb ≈ Majorelle Blue

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

#804ceb is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 50.2% red, 29.8% green and 92.16% blue; printed in CMYK it uses 45.53% cyan, 67.66% magenta, 0% yellow and 7.84% black. Its hue angle is 259.62°, with 79.9% saturation and 60.98% 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 brand accents. White text on this color reaches a contrast ratio of 5.06:1 (WCAG AA). The closest named color is Majorelle Blue (#6050dc), ΔE 5.51.

Description generated from the measured properties of this color.

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

Readable text 5.06:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.15:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6f6f6f ≈ 0.003% of males
Achromatomaly #7662af ≈ 0.001% of males
Protanopia #0071f0 ≈ 1.01% of males
Deuteranopia #006be8 ≈ 1.27% of males
Tritanopia #607396 ≈ 0.0001% of males
Protanomaly #3f64ee ≈ 1.08% of males
Deuteranomaly #4460e9 ≈ 4.63% of males
Tritanomaly #6e66be ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-804ceb {
  color: #804ceb;
}
Background
.bg-804ceb {
  background-color: #804ceb;
  color: #ffffff;
}
Border
.border-804ceb {
  border: 2px solid #804ceb;
}
CSS variables
:root {
  --color-primary: #804ceb;
  --color-primary-rgb: 128 76 235;
  --color-primary-hsl: 260 80% 61%;
}
Gradient
.gradient-804ceb {
  background: linear-gradient(135deg, #804ceb, #cf4ceb);
}
Colored shadow
.shadow-804ceb {
  box-shadow: 0 8px 24px rgb(128 76 235 / 0.35);
}

Majorelle Blue
#804ceb  rgb(128, 76, 235)  hsl(260, 80%, 61%)  Majorelle Blue
#b7eb4c  rgb(183, 235, 76)  hsl(80, 80%, 61%)  Inchworm
#eb804c  rgb(235, 128, 76)  hsl(20, 80%, 61%)  Mango Tango
#4ceb80  rgb(76, 235, 128)  hsl(140, 80%, 61%)  Spring Green