#874FF2

#874ff2 ≈ Medium Slate Blue

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

#874ff2 is a color from the violet family, with high lightness and strong saturation. In the RGB model it is made of 52.94% red, 30.98% green and 94.9% blue; printed in CMYK it uses 44.21% cyan, 67.36% magenta, 0% yellow and 5.1% black. Its hue angle is 260.61°, with 86.24% saturation and 62.94% 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.68.

Description generated from the measured properties of this color.

Conversions of #874ff2 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 #7c66b4 ≈ 0.001% of males
Protanopia #0075f7 ≈ 1.01% of males
Deuteranopia #0070ef ≈ 1.27% of males
Tritanopia #68779a ≈ 0.0001% of males
Protanomaly #4568f5 ≈ 1.08% of males
Deuteranomaly #4a65f0 ≈ 4.63% of males
Tritanomaly #7669c4 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-874ff2 {
  color: #874ff2;
}
Background
.bg-874ff2 {
  background-color: #874ff2;
  color: #ffffff;
}
Border
.border-874ff2 {
  border: 2px solid #874ff2;
}
CSS variables
:root {
  --color-primary: #874ff2;
  --color-primary-rgb: 135 79 242;
  --color-primary-hsl: 261 86% 63%;
}
Gradient
.gradient-874ff2 {
  background: linear-gradient(135deg, #874ff2, #d84ff2);
}
Colored shadow
.shadow-874ff2 {
  box-shadow: 0 8px 24px rgb(135 79 242 / 0.35);
}

Medium Slate Blue
#874ff2  rgb(135, 79, 242)  hsl(261, 86%, 63%)  Medium Slate Blue
#baf24f  rgb(186, 242, 79)  hsl(81, 86%, 63%)  Inchworm
#f2874f  rgb(242, 135, 79)  hsl(21, 86%, 63%)  Mango Tango
#4ff287  rgb(79, 242, 135)  hsl(141, 86%, 63%)  Spring Green