#795FEC

#795fec ≈ Medium Slate Blue

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

#795fec is a color from the violet family, with high lightness and strong saturation. In the RGB model it is made of 47.45% red, 37.25% green and 92.55% blue; printed in CMYK it uses 48.73% cyan, 59.75% magenta, 0% yellow and 7.45% black. Its hue angle is 251.06°, with 78.77% saturation and 64.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 brand accents. Black text on this color reaches a contrast ratio of 4.66:1 (WCAG AA). The closest named color is Medium Slate Blue (#7b68ee), ΔE 2.67.

Description generated from the measured properties of this color.

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

Readable text 4.51:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.66:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #777777 ≈ 0.003% of males
Achromatomaly #786eb2 ≈ 0.001% of males
Protanopia #007af1 ≈ 1.01% of males
Deuteranopia #0073e9 ≈ 1.27% of males
Tritanopia #51809d ≈ 0.0001% of males
Protanomaly #4770ef ≈ 1.08% of males
Deuteranomaly #476bea ≈ 4.63% of males
Tritanomaly #6374c2 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-795fec {
  color: #795fec;
}
Background
.bg-795fec {
  background-color: #795fec;
  color: #000000;
}
Border
.border-795fec {
  border: 2px solid #795fec;
}
CSS variables
:root {
  --color-primary: #795fec;
  --color-primary-rgb: 121 95 236;
  --color-primary-hsl: 251 79% 65%;
}
Gradient
.gradient-795fec {
  background: linear-gradient(135deg, #795fec, #bf5fec);
}
Colored shadow
.shadow-795fec {
  box-shadow: 0 8px 24px rgb(121 95 236 / 0.35);
}

Medium Slate Blue
#795fec  rgb(121, 95, 236)  hsl(251, 79%, 65%)  Medium Slate Blue
#d2ec5f  rgb(210, 236, 95)  hsl(71, 79%, 65%)  June Bud
#ec795f  rgb(236, 121, 95)  hsl(11, 79%, 65%)  Terra Cotta
#5fec79  rgb(95, 236, 121)  hsl(131, 79%, 65%)  Pastel Green