#781FEC

#781fec ≈ Electric Indigo

  • violet
  • Lightness: medium
  • Saturation: vivid
  • Cool

#781fec is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 47.06% red, 12.16% green and 92.55% blue; printed in CMYK it uses 49.15% cyan, 86.86% magenta, 0% yellow and 7.45% black. Its hue angle is 266.05°, with 84.36% saturation and 52.35% 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 6.55:1 (WCAG AA). The closest named color is Electric Indigo (#6f00ff), ΔE 2.52.

Description generated from the measured properties of this color.

Conversions of #781fec 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.1103

Readable text 6.55:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.21:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #5d5d5d ≈ 0.003% of males
Achromatomaly #694caa ≈ 0.001% of males
Protanopia #005ff1 ≈ 1.01% of males
Deuteranopia #005ae9 ≈ 1.27% of males
Tritanopia #52628d ≈ 0.0001% of males
Protanomaly #004def ≈ 1.08% of males
Deuteranomaly #1849ea ≈ 4.63% of males
Tritanomaly #634fbb ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-781fec {
  color: #781fec;
}
Background
.bg-781fec {
  background-color: #781fec;
  color: #ffffff;
}
Border
.border-781fec {
  border: 2px solid #781fec;
}
CSS variables
:root {
  --color-primary: #781fec;
  --color-primary-rgb: 120 31 236;
  --color-primary-hsl: 266 84% 52%;
}
Gradient
.gradient-781fec {
  background: linear-gradient(135deg, #781fec, #de1fec);
}
Colored shadow
.shadow-781fec {
  box-shadow: 0 8px 24px rgb(120 31 236 / 0.35);
}

Electric Indigo
#781fec  rgb(120, 31, 236)  hsl(266, 84%, 52%)  Electric Indigo
#93ec1f  rgb(147, 236, 31)  hsl(86, 84%, 52%)  Spring Bud
#ec781f  rgb(236, 120, 31)  hsl(26, 84%, 52%)  Pumpkin
#1fec78  rgb(31, 236, 120)  hsl(146, 84%, 52%)  Spring Green