#8A42E5
#8a42e5 ≈ Blue Violet
#8a42e5 属于紫系颜色(明度:中等,饱和度:较高)。 在 RGB 模型中,它由 54.12% 红、25.88% 绿和 89.8% 蓝组成;采用 CMYK 印刷时需要 39.74% 青、71.18% 品红、0% 黄和 10.2% 黑。 在 HSL 中,它的色相角为 266.5°,饱和度为 75.81%,明度为 57.84%。 这是一种冷色,常让人联想到想象力、灵性和奢华。 设计师常把它用于美妆和化妆品、创意工作室和品牌点缀色。 在此颜色上使用白色文字时,对比度为 5.26:1(WCAG AA)。 最接近的命名颜色是 Blue Violet(#8a2be2),ΔE 为 3.83。
根据此颜色的测量属性自动生成的描述。
| HEX | |
|---|---|
| RGB | |
| RGB 百分比 | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| 网页安全色 | #9933cc |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| 二进制 | |
| 十进制 | |
| 相对亮度 | 0.1496 |
暗调
#8a42e5 逐步混入黑色。
亮调
#8a42e5 逐步混入白色。
灰调
#8a42e5 逐步混入灰色。
清晰易读的文字
5.26:1
AA ✓
AA Large ✓
AAA ✕
AAA Large ✓
清晰易读的文字
3.99:1
AA ✕
AA Large ✓
AAA ✕
AAA Large ✕
此颜色的文字
此颜色的背景
此颜色的边框
文字颜色
.text-8a42e5 {
color: #8a42e5;
}
背景
.bg-8a42e5 {
background-color: #8a42e5;
color: #ffffff;
}
边框
.border-8a42e5 {
border: 2px solid #8a42e5;
}
CSS 变量
:root {
--color-primary: #8a42e5;
--color-primary-rgb: 138 66 229;
--color-primary-hsl: 267 76% 58%;
}
渐变
.gradient-8a42e5 {
background: linear-gradient(135deg, #8a42e5, #db42e5);
}
彩色阴影
.shadow-8a42e5 {
box-shadow: 0 8px 24px rgb(138 66 229 / 0.35);
}
Blue Violet
#8a42e5 rgb(138, 66, 229) hsl(267, 76%, 58%) Blue Violet
#9de542 rgb(157, 229, 66) hsl(87, 76%, 58%) Inchworm
#e58a42 rgb(229, 138, 66) hsl(27, 76%, 58%) Cadmium Orange
#42e58a rgb(66, 229, 138) hsl(147, 76%, 58%) Medium Spring Green