#804FFB

#804ffb ≈ Medium Slate Blue

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

#804ffb is a color from the violet family, with high lightness and strong saturation. In the RGB model it is made of 50.2% red, 30.98% green and 98.43% blue; printed in CMYK it uses 49% cyan, 68.53% magenta, 0% yellow and 1.57% black. Its hue angle is 257.09°, with 95.56% saturation and 64.71% 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 4.74:1 (WCAG AA). The closest named color is Medium Slate Blue (#7b68ee), ΔE 6.42.

Description generated from the measured properties of this color.

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

Readable text 4.74:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.43:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #737373 ≈ 0.003% of males
Achromatomaly #7866ba ≈ 0.001% of males
Protanopia #0076ff ≈ 1.01% of males
Deuteranopia #006ff8 ≈ 1.27% of males
Tritanopia #567b9f ≈ 0.0001% of males
Protanomaly #3669fe ≈ 1.08% of males
Deuteranomaly #3a64f9 ≈ 4.63% of males
Tritanomaly #696ccb ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-804ffb {
  color: #804ffb;
}
Background
.bg-804ffb {
  background-color: #804ffb;
  color: #ffffff;
}
Border
.border-804ffb {
  border: 2px solid #804ffb;
}
CSS variables
:root {
  --color-primary: #804ffb;
  --color-primary-rgb: 128 79 251;
  --color-primary-hsl: 257 96% 65%;
}
Gradient
.gradient-804ffb {
  background: linear-gradient(135deg, #804ffb, #d64ffb);
}
Colored shadow
.shadow-804ffb {
  box-shadow: 0 8px 24px rgb(128 79 251 / 0.35);
}

Medium Slate Blue
#804ffb  rgb(128, 79, 251)  hsl(257, 96%, 65%)  Medium Slate Blue
#cafb4f  rgb(202, 251, 79)  hsl(77, 96%, 65%)  Electric Lime
#fb804f  rgb(251, 128, 79)  hsl(17, 96%, 65%)  Coral
#4ffb80  rgb(79, 251, 128)  hsl(137, 96%, 65%)  Spring Green