#918AFA

#918afa ≈ Medium Purple

  • blue
  • Lightness: high
  • Saturation: moderate
  • Cool

#918afa is a color from the blue family, with high lightness and moderate saturation. In the RGB model it is made of 56.86% red, 54.12% green and 98.04% blue; printed in CMYK it uses 42% cyan, 44.8% magenta, 0% yellow and 1.96% black. Its hue angle is 243.75°, with 91.8% saturation and 76.08% lightness in HSL. It is a cool color, often associated with trust, stability and focus. Designers typically use it for technology products, finance and banking and soft pastel palettes. Black text on this color reaches a contrast ratio of 7.22:1 (WCAG AAA). The closest named color is Medium Purple (#9370db), ΔE 9.11.

Description generated from the measured properties of this color.

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

Readable text 2.91:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 7.22:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #979797 ≈ 0.003% of males
Achromatomaly #9592c7 ≈ 0.001% of males
Protanopia #5f9bfe ≈ 1.01% of males
Deuteranopia #5b94f7 ≈ 1.27% of males
Tritanopia #71a1b6 ≈ 0.0001% of males
Protanomaly #7694fc ≈ 1.08% of males
Deuteranomaly #7490f8 ≈ 4.63% of males
Tritanomaly #7f98d5 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-918afa {
  color: #918afa;
}
Background
.bg-918afa {
  background-color: #918afa;
  color: #000000;
}
Border
.border-918afa {
  border: 2px solid #918afa;
}
CSS variables
:root {
  --color-primary: #918afa;
  --color-primary-rgb: 145 138 250;
  --color-primary-hsl: 244 92% 76%;
}
Gradient
.gradient-918afa {
  background: linear-gradient(135deg, #918afa, #c98afa);
}
Colored shadow
.shadow-918afa {
  box-shadow: 0 8px 24px rgb(145 138 250 / 0.35);
}

Medium Purple
#918afa  rgb(145, 138, 250)  hsl(244, 92%, 76%)  Medium Purple
#f3fa8a  rgb(243, 250, 138)  hsl(64, 92%, 76%)  Pastel Yellow
#fa918a  rgb(250, 145, 138)  hsl(4, 92%, 76%)  Light Coral
#8afa91  rgb(138, 250, 145)  hsl(124, 92%, 76%)  Pale Green