#8A045E
#8a045e ≈ Pansy Purple
#8a045e 属于品红系颜色(明度:较低,饱和度:较高)。 在 RGB 模型中,它由 54.12% 红、1.57% 绿和 36.86% 蓝组成;采用 CMYK 印刷时需要 0% 青、97.1% 品红、31.88% 黄和 45.88% 黑。 在 HSL 中,它的色相角为 319.7°,饱和度为 94.37%,明度为 27.84%。 它介于冷暖之间,常让人联想到创意、大胆和个性。 设计师常把它用于美妆和化妆品、创意工作室和奢侈品牌。 在此颜色上使用白色文字时,对比度为 9.29:1(WCAG AAA)。 最接近的命名颜色是 Pansy Purple(#78184a),ΔE 为 5.27。
根据此颜色的测量属性自动生成的描述。
| HEX | |
|---|---|
| RGB | |
| RGB 百分比 | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| 网页安全色 | #990066 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| 二进制 | |
| 十进制 | |
| 相对亮度 | 0.063 |
暗调
#8a045e 逐步混入黑色。
亮调
#8a045e 逐步混入白色。
灰调
#8a045e 逐步混入灰色。
清晰易读的文字
9.29:1
AA ✓
AA Large ✓
AAA ✓
AAA Large ✓
清晰易读的文字
2.26:1
AA ✕
AA Large ✕
AAA ✕
AAA Large ✕
此颜色的文字
此颜色的背景
此颜色的边框
文字颜色
.text-8a045e {
color: #8a045e;
}
背景
.bg-8a045e {
background-color: #8a045e;
color: #ffffff;
}
边框
.border-8a045e {
border: 2px solid #8a045e;
}
CSS 变量
:root {
--color-primary: #8a045e;
--color-primary-rgb: 138 4 94;
--color-primary-hsl: 320 94% 28%;
}
渐变
.gradient-8a045e {
background: linear-gradient(135deg, #8a045e, #8a041b);
}
彩色阴影
.shadow-8a045e {
box-shadow: 0 8px 24px rgb(138 4 94 / 0.35);
}
Pansy Purple
#8a045e rgb(138, 4, 94) hsl(320, 94%, 28%) Pansy Purple
#048a30 rgb(4, 138, 48) hsl(140, 94%, 28%) Forest Green
#5e8a04 rgb(94, 138, 4) hsl(80, 94%, 28%) Olive Drab
#045e8a rgb(4, 94, 138) hsl(200, 94%, 28%) Sea Blue