#EA87F3
#ea87f3 ≈ Violet
#ea87f3 属于品红系颜色(明度:较高,饱和度:中等)。 在 RGB 模型中,它由 91.76% 红、52.94% 绿和 95.29% 蓝组成;采用 CMYK 印刷时需要 3.7% 青、44.44% 品红、0% 黄和 4.71% 黑。 在 HSL 中,它的色相角为 295°,饱和度为 81.82%,明度为 74.12%。 它介于冷暖之间,常让人联想到创意、大胆和个性。 设计师常把它用于美妆和化妆品、创意工作室和行动号召按钮。 在此颜色上使用黑色文字时,对比度为 9.26:1(WCAG AAA)。 最接近的命名颜色是 Violet(#ee82ee),ΔE 为 1.49。
根据此颜色的测量属性自动生成的描述。
| HEX | |
|---|---|
| RGB | |
| RGB 百分比 | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| 网页安全色 | #ff99ff |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| 二进制 | |
| 十进制 | |
| 相对亮度 | 0.4129 |
暗调
#ea87f3 逐步混入黑色。
亮调
#ea87f3 逐步混入白色。
灰调
#ea87f3 逐步混入灰色。
清晰易读的文字
2.27:1
AA ✕
AA Large ✕
AAA ✕
AAA Large ✕
清晰易读的文字
9.26:1
AA ✓
AA Large ✓
AAA ✓
AAA Large ✓
此颜色的文字
此颜色的背景
此颜色的边框
文字颜色
.text-ea87f3 {
color: #ea87f3;
}
背景
.bg-ea87f3 {
background-color: #ea87f3;
color: #000000;
}
边框
.border-ea87f3 {
border: 2px solid #ea87f3;
}
CSS 变量
:root {
--color-primary: #ea87f3;
--color-primary-rgb: 234 135 243;
--color-primary-hsl: 295 82% 74%;
}
渐变
.gradient-ea87f3 {
background: linear-gradient(135deg, #ea87f3, #f387c6);
}
彩色阴影
.shadow-ea87f3 {
box-shadow: 0 8px 24px rgb(234 135 243 / 0.35);
}
Violet
#ea87f3 rgb(234, 135, 243) hsl(295, 82%, 74%) Violet
#90f387 rgb(144, 243, 135) hsl(115, 82%, 74%) Light Green
#f3ea87 rgb(243, 234, 135) hsl(55, 82%, 74%) Khaki
#87f3ea rgb(135, 243, 234) hsl(175, 82%, 74%) Electric Blue