#8A2AEE
#8a2aee ≈ Blue Violet
#8a2aee 属于紫系颜色(明度:中等,饱和度:很高)。 在 RGB 模型中,它由 54.12% 红、16.47% 绿和 93.33% 蓝组成;采用 CMYK 印刷时需要 42.02% 青、82.35% 品红、0% 黄和 6.67% 黑。 在 HSL 中,它的色相角为 269.39°,饱和度为 85.22%,明度为 54.9%。 这是一种冷色,常让人联想到想象力、灵性和奢华。 设计师常把它用于美妆和化妆品、创意工作室和行动号召按钮。 在此颜色上使用白色文字时,对比度为 5.76:1(WCAG AA)。 最接近的命名颜色是 Blue Violet(#8a2be2),ΔE 为 1.52。
根据此颜色的测量属性自动生成的描述。
| HEX | |
|---|---|
| RGB | |
| RGB 百分比 | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| 网页安全色 | #9933ff |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| 二进制 | |
| 十进制 | |
| 相对亮度 | 0.1323 |
暗调
#8a2aee 逐步混入黑色。
亮调
#8a2aee 逐步混入白色。
灰调
#8a2aee 逐步混入灰色。
清晰易读的文字
5.76:1
AA ✓
AA Large ✓
AAA ✕
AAA Large ✓
清晰易读的文字
3.65:1
AA ✕
AA Large ✓
AAA ✕
AAA Large ✕
此颜色的文字
此颜色的背景
此颜色的边框
文字颜色
.text-8a2aee {
color: #8a2aee;
}
背景
.bg-8a2aee {
background-color: #8a2aee;
color: #ffffff;
}
边框
.border-8a2aee {
border: 2px solid #8a2aee;
}
CSS 变量
:root {
--color-primary: #8a2aee;
--color-primary-rgb: 138 42 238;
--color-primary-hsl: 269 85% 55%;
}
渐变
.gradient-8a2aee {
background: linear-gradient(135deg, #8a2aee, #ec2aee);
}
彩色阴影
.shadow-8a2aee {
box-shadow: 0 8px 24px rgb(138 42 238 / 0.35);
}
Blue Violet
#8a2aee rgb(138, 42, 238) hsl(269, 85%, 55%) Blue Violet
#8eee2a rgb(142, 238, 42) hsl(89, 85%, 55%) Lawn Green
#ee8a2a rgb(238, 138, 42) hsl(29, 85%, 55%) Cadmium Orange
#2aee8a rgb(42, 238, 138) hsl(149, 85%, 55%) Medium Spring Green