最接近的命名颜色 · #8C60CC
#8C60CC
最接近的命名颜色: Amethyst
#8C60CC(rgb(140 96 204)、hsl(264 51% 59%)、oklch(0.585 0.163 300.2))最接近命名颜色 Amethyst。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#8C60CC
oklch(0.585 0.163 300.2)
颜色转换
- HEX
- #8c60cc
- RGB
- rgb(140 96 204)
- HSL
- hsl(264 51% 59%)
- HWB
- hwb(264 38% 20%)
- OKLCH
- oklch(0.585 0.163 300.2)
- OKLab
- oklab(0.585 0.082 -0.14)
- CIE Lab
- lab(49.35 35.34 -50.27)
- LCH
- lch(49.35 61.45 305.1)
- CMYK
- cmyk(31% 53% 0% 20%)
浅色调 · 深色调 · 灰色调
浅色调
- 9770D2
- A181D8
- AC90DE
- B8A0E3
- C3B0E8
- CFC0ED
- DBCFF2
- E7DFF7
- F3EFFB
深色调
- 7952B1
- 674597
- 55387E
- 432C65
- 33204E
- 231537
- 140A22
- 07030F
- 010002
灰色调
- 8B64C5
- 8968BE
- 886CB6
- 8770AF
- 8573A7
- 8476A0
- 837998
- 827B90
- 817E88
配色和谐
互补色 +180°
- 8C60CC
Amethyst
- 718700
≈ Swamp Green
类似色 -30° +30°
- 8C60CC
Amethyst
- 5872DB
≈ Cornflower
- AF51A8
≈ Orchid Dottyback
三角配色 +120° +240°
- 8C60CC
Amethyst
- B56400
≈ Umber
- 00907E
≈ Philips Green
分裂互补色 +150° +210°
- 8C60CC
Amethyst
- 977700
≈ Mesozoic Green
- 009544
≈ Luscious Green
四角配色 +90° +180° +270°
对比度与无障碍
Ag
AA白底
WCAG 4.50:1 · APCA Lc 71
Ag
AA黑底
WCAG 4.66:1 · APCA Lc 31
最佳文字颜色: #000000
WCAG 4.66:1 (AA) · APCA Lc 31
Contrast pairs
代码片段
CSS
:root {
--amethyst: #8c60cc;
--amethyst-rgb: 140 96 204;
--amethyst-oklch: oklch(0.585 0.163 300.2);
}
.element {
color: var(--amethyst);
background-color: hsl(264 51% 59%);
border-color: oklch(0.585 0.163 300.2);
}Tailwind CSS v4
@theme {
--color-amethyst: #8c60cc;
--color-amethyst-50: #feebff;
--color-amethyst-100: #f2dcff;
--color-amethyst-200: #e1c4ff;
--color-amethyst-300: #c7a3fc;
--color-amethyst-400: #ae85ef;
--color-amethyst-500: #9967e0;
--color-amethyst-600: #8158bd;
--color-amethyst-700: #674698;
--color-amethyst-800: #4a3372;
--color-amethyst-900: #332351;
--color-amethyst-950: #1f1136;
}SCSS
$amethyst: #8c60cc;
$amethyst-rgb: 140, 96, 204;
$amethyst-light: mix(#fff, $amethyst, 20%);
$amethyst-dark: mix(#000, $amethyst, 20%);
.element {
color: $amethyst;
box-shadow: 0 0 0 2px rgba($amethyst, 0.35);
}