#8A2EDA
#8a2eda ≈ Blue Violet
#8a2eda 属于紫系颜色(明度:中等,饱和度:较高)。 在 RGB 模型中,它由 54.12% 红、18.04% 绿和 85.49% 蓝组成;采用 CMYK 印刷时需要 36.7% 青、78.9% 品红、0% 黄和 14.51% 黑。 在 HSL 中,它的色相角为 272.09°,饱和度为 69.92%,明度为 51.76%。 这是一种冷色,常让人联想到想象力、灵性和奢华。 设计师常把它用于美妆和化妆品、创意工作室和品牌点缀色。 在此颜色上使用白色文字时,对比度为 6.03:1(WCAG AA)。 最接近的命名颜色是 Blue Violet(#8a2be2),ΔE 为 1.02。
根据此颜色的测量属性自动生成的描述。
| HEX | |
|---|---|
| RGB | |
| RGB 百分比 | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| 网页安全色 | #9933cc |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| 二进制 | |
| 十进制 | |
| 相对亮度 | 0.1242 |
暗调
#8a2eda 逐步混入黑色。
亮调
#8a2eda 逐步混入白色。
灰调
#8a2eda 逐步混入灰色。
清晰易读的文字
6.03:1
AA ✓
AA Large ✓
AAA ✕
AAA Large ✓
清晰易读的文字
3.48:1
AA ✕
AA Large ✓
AAA ✕
AAA Large ✕
此颜色的文字
此颜色的背景
此颜色的边框
文字颜色
.text-8a2eda {
color: #8a2eda;
}
背景
.bg-8a2eda {
background-color: #8a2eda;
color: #ffffff;
}
边框
.border-8a2eda {
border: 2px solid #8a2eda;
}
CSS 变量
:root {
--color-primary: #8a2eda;
--color-primary-rgb: 138 46 218;
--color-primary-hsl: 272 70% 52%;
}
渐变
.gradient-8a2eda {
background: linear-gradient(135deg, #8a2eda, #da2ed4);
}
彩色阴影
.shadow-8a2eda {
box-shadow: 0 8px 24px rgb(138 46 218 / 0.35);
}
Blue Violet
#8a2eda rgb(138, 46, 218) hsl(272, 70%, 52%) Blue Violet
#7eda2e rgb(126, 218, 46) hsl(92, 70%, 52%) Yellow Green
#da8a2e rgb(218, 138, 46) hsl(32, 70%, 52%) Fulvous
#2eda8a rgb(46, 218, 138) hsl(152, 70%, 52%) Emerald