#CD8BFA
#cd8bfa ≈ Heliotrope
#cd8bfa 属于紫系颜色(明度:较高,饱和度:中等)。 在 RGB 模型中,它由 80.39% 红、54.51% 绿和 98.04% 蓝组成;采用 CMYK 印刷时需要 18% 青、44.4% 品红、0% 黄和 1.96% 黑。 在 HSL 中,它的色相角为 275.68°,饱和度为 91.74%,明度为 76.27%。 这是一种冷色,常让人联想到想象力、灵性和奢华。 设计师常把它用于美妆和化妆品、创意工作室和柔和的马卡龙配色。 在此颜色上使用黑色文字时,对比度为 8.67:1(WCAG AAA)。 最接近的命名颜色是 Heliotrope(#df73ff),ΔE 为 5.7。
根据此颜色的测量属性自动生成的描述。
| HEX | |
|---|---|
| RGB | |
| RGB 百分比 | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| 网页安全色 | #cc99ff |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| 二进制 | |
| 十进制 | |
| 相对亮度 | 0.3835 |
暗调
#cd8bfa 逐步混入黑色。
亮调
#cd8bfa 逐步混入白色。
灰调
#cd8bfa 逐步混入灰色。
清晰易读的文字
2.42:1
AA ✕
AA Large ✕
AAA ✕
AAA Large ✕
清晰易读的文字
8.67:1
AA ✓
AA Large ✓
AAA ✓
AAA Large ✓
此颜色的文字
此颜色的背景
此颜色的边框
文字颜色
.text-cd8bfa {
color: #cd8bfa;
}
背景
.bg-cd8bfa {
background-color: #cd8bfa;
color: #000000;
}
边框
.border-cd8bfa {
border: 2px solid #cd8bfa;
}
CSS 变量
:root {
--color-primary: #cd8bfa;
--color-primary-rgb: 205 139 250;
--color-primary-hsl: 276 92% 76%;
}
渐变
.gradient-cd8bfa {
background: linear-gradient(135deg, #cd8bfa, #fa8bef);
}
彩色阴影
.shadow-cd8bfa {
box-shadow: 0 8px 24px rgb(205 139 250 / 0.35);
}
Heliotrope
#cd8bfa rgb(205, 139, 250) hsl(276, 92%, 76%) Heliotrope
#b8fa8b rgb(184, 250, 139) hsl(96, 92%, 76%) Pale Green
#facd8b rgb(250, 205, 139) hsl(36, 92%, 76%) Topaz
#8bfacd rgb(139, 250, 205) hsl(156, 92%, 76%) Aquamarine