#791DFB

#791dfb ≈ Electric Indigo

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

#791dfb is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 47.45% red, 11.37% green and 98.43% blue; printed in CMYK it uses 51.79% cyan, 88.45% magenta, 0% yellow and 1.57% black. Its hue angle is 264.86°, with 96.52% saturation and 54.9% 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.21:1 (WCAG AA). The closest named color is Electric Indigo (#6f00ff), ΔE 2.24.

Description generated from the measured properties of this color.

Conversions of #791dfb 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.1191

Readable text 6.21:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.38:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #616161 ≈ 0.003% of males
Achromatomaly #6b4eb4 ≈ 0.001% of males
Protanopia #0064ff ≈ 1.01% of males
Deuteranopia #005cf7 ≈ 1.27% of males
Tritanopia #496895 ≈ 0.0001% of males
Protanomaly #0051fe ≈ 1.08% of males
Deuteranomaly #004bf9 ≈ 4.63% of males
Tritanomaly #6054c6 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-791dfb {
  color: #791dfb;
}
Background
.bg-791dfb {
  background-color: #791dfb;
  color: #ffffff;
}
Border
.border-791dfb {
  border: 2px solid #791dfb;
}
CSS variables
:root {
  --color-primary: #791dfb;
  --color-primary-rgb: 121 29 251;
  --color-primary-hsl: 265 97% 55%;
}
Gradient
.gradient-791dfb {
  background: linear-gradient(135deg, #791dfb, #e81dfb);
}
Colored shadow
.shadow-791dfb {
  box-shadow: 0 8px 24px rgb(121 29 251 / 0.35);
}

Electric Indigo
#791dfb  rgb(121, 29, 251)  hsl(265, 97%, 55%)  Electric Indigo
#9ffb1d  rgb(159, 251, 29)  hsl(85, 97%, 55%)  Spring Bud
#fb791d  rgb(251, 121, 29)  hsl(25, 97%, 55%)  Pumpkin
#1dfb79  rgb(29, 251, 121)  hsl(145, 97%, 55%)  Spring Green