#918afa ≈ Medium Purple
#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.
| 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 luminance | 0.311 |
Shades
#918afa mixed progressively with black.
Tints
#918afa mixed progressively with white.
Tones
#918afa mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-918afa {
color: #918afa;
}
.bg-918afa {
background-color: #918afa;
color: #000000;
}
.border-918afa {
border: 2px solid #918afa;
}
:root {
--color-primary: #918afa;
--color-primary-rgb: 145 138 250;
--color-primary-hsl: 244 92% 76%;
}
.gradient-918afa {
background: linear-gradient(135deg, #918afa, #c98afa);
}
.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