#845FEF

#845fef ≈ Medium Slate Blue

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

#845fef is a color from the violet family, with high lightness and strong saturation. In the RGB model it is made of 51.76% red, 37.25% green and 93.73% blue; printed in CMYK it uses 44.77% cyan, 60.25% magenta, 0% yellow and 6.27% black. Its hue angle is 255.42°, with 81.82% saturation and 65.49% 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. Black text on this color reaches a contrast ratio of 4.86:1 (WCAG AA). The closest named color is Medium Slate Blue (#7b68ee), ΔE 3.01.

Description generated from the measured properties of this color.

Conversions of #845fef 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.1932

Readable text 4.32:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.86:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7a7a7a ≈ 0.003% of males
Achromatomaly #7e70b5 ≈ 0.001% of males
Protanopia #007cf4 ≈ 1.01% of males
Deuteranopia #0076ec ≈ 1.27% of males
Tritanopia #64809e ≈ 0.0001% of males
Protanomaly #5072f2 ≈ 1.08% of males
Deuteranomaly #526eed ≈ 4.63% of males
Tritanomaly #7274c4 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-845fef {
  color: #845fef;
}
Background
.bg-845fef {
  background-color: #845fef;
  color: #000000;
}
Border
.border-845fef {
  border: 2px solid #845fef;
}
CSS variables
:root {
  --color-primary: #845fef;
  --color-primary-rgb: 132 95 239;
  --color-primary-hsl: 255 82% 65%;
}
Gradient
.gradient-845fef {
  background: linear-gradient(135deg, #845fef, #cc5fef);
}
Colored shadow
.shadow-845fef {
  box-shadow: 0 8px 24px rgb(132 95 239 / 0.35);
}

Medium Slate Blue
#845fef  rgb(132, 95, 239)  hsl(255, 82%, 65%)  Medium Slate Blue
#caef5f  rgb(202, 239, 95)  hsl(75, 82%, 65%)  Inchworm
#ef845f  rgb(239, 132, 95)  hsl(15, 82%, 65%)  Coral
#5fef84  rgb(95, 239, 132)  hsl(135, 82%, 65%)  Light Green