#7B5DEC

#7b5dec ≈ Medium Slate Blue

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

#7b5dec is a color from the violet family, with high lightness and strong saturation. In the RGB model it is made of 48.24% red, 36.47% green and 92.55% blue; printed in CMYK it uses 47.88% cyan, 60.59% magenta, 0% yellow and 7.45% black. Its hue angle is 252.59°, with 79.01% saturation and 64.51% 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.62:1 (WCAG AA). The closest named color is Medium Slate Blue (#7b68ee), ΔE 3.21.

Description generated from the measured properties of this color.

Conversions of #7b5dec 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.181

Readable text 4.55:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.62:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #767676 ≈ 0.003% of males
Achromatomaly #786db2 ≈ 0.001% of males
Protanopia #0079f1 ≈ 1.01% of males
Deuteranopia #0072e9 ≈ 1.27% of males
Tritanopia #557e9c ≈ 0.0001% of males
Protanomaly #476fef ≈ 1.08% of males
Deuteranomaly #486aea ≈ 4.63% of males
Tritanomaly #6673c1 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-7b5dec {
  color: #7b5dec;
}
Background
.bg-7b5dec {
  background-color: #7b5dec;
  color: #000000;
}
Border
.border-7b5dec {
  border: 2px solid #7b5dec;
}
CSS variables
:root {
  --color-primary: #7b5dec;
  --color-primary-rgb: 123 93 236;
  --color-primary-hsl: 253 79% 65%;
}
Gradient
.gradient-7b5dec {
  background: linear-gradient(135deg, #7b5dec, #c35dec);
}
Colored shadow
.shadow-7b5dec {
  box-shadow: 0 8px 24px rgb(123 93 236 / 0.35);
}

Medium Slate Blue
#7b5dec  rgb(123, 93, 236)  hsl(253, 79%, 65%)  Medium Slate Blue
#ceec5d  rgb(206, 236, 93)  hsl(73, 79%, 65%)  June Bud
#ec7b5d  rgb(236, 123, 93)  hsl(13, 79%, 65%)  Burnt Sienna
#5dec7b  rgb(93, 236, 123)  hsl(133, 79%, 65%)  Pastel Green