#8A5FFA
#8a5ffa ≈ Medium Slate Blue
#8a5ffa 属于紫系颜色(明度:较高,饱和度:较高)。 在 RGB 模型中,它由 54.12% 红、37.25% 绿和 98.04% 蓝组成;采用 CMYK 印刷时需要 44.8% 青、62% 品红、0% 黄和 1.96% 黑。 在 HSL 中,它的色相角为 256.65°,饱和度为 93.94%,明度为 67.65%。 这是一种冷色,常让人联想到想象力、灵性和奢华。 设计师常把它用于美妆和化妆品、创意工作室和行动号召按钮。 在此颜色上使用黑色文字时,对比度为 5.1:1(WCAG AA)。 最接近的命名颜色是 Medium Slate Blue(#7b68ee),ΔE 为 3.72。
根据此颜色的测量属性自动生成的描述。
| HEX | |
|---|---|
| RGB | |
| RGB 百分比 | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| 网页安全色 | #9966ff |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| 二进制 | |
| 十进制 | |
| 相对亮度 | 0.2049 |
暗调
#8a5ffa 逐步混入黑色。
亮调
#8a5ffa 逐步混入白色。
灰调
#8a5ffa 逐步混入灰色。
清晰易读的文字
4.12:1
AA ✕
AA Large ✓
AAA ✕
AAA Large ✕
清晰易读的文字
5.1:1
AA ✓
AA Large ✓
AAA ✕
AAA Large ✓
此颜色的文字
此颜色的背景
此颜色的边框
文字颜色
.text-8a5ffa {
color: #8a5ffa;
}
背景
.bg-8a5ffa {
background-color: #8a5ffa;
color: #000000;
}
边框
.border-8a5ffa {
border: 2px solid #8a5ffa;
}
CSS 变量
:root {
--color-primary: #8a5ffa;
--color-primary-rgb: 138 95 250;
--color-primary-hsl: 257 94% 68%;
}
渐变
.gradient-8a5ffa {
background: linear-gradient(135deg, #8a5ffa, #d85ffa);
}
彩色阴影
.shadow-8a5ffa {
box-shadow: 0 8px 24px rgb(138 95 250 / 0.35);
}
Medium Slate Blue
#8a5ffa rgb(138, 95, 250) hsl(257, 94%, 68%) Medium Slate Blue
#cffa5f rgb(207, 250, 95) hsl(77, 94%, 68%) Inchworm
#fa8a5f rgb(250, 138, 95) hsl(17, 94%, 68%) Coral
#5ffa8a rgb(95, 250, 138) hsl(137, 94%, 68%) Spring Green