最接近的命名颜色 · #8A61C9
#8A61C9
最接近的命名颜色: Amethyst
#8A61C9(rgb(138 97 201)、hsl(264 49% 58%)、oklch(0.582 0.157 299.7))最接近命名颜色 Amethyst。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#8A61C9
oklch(0.582 0.157 299.7)
颜色转换
- HEX
- #8a61c9
- RGB
- rgb(138 97 201)
- HSL
- hsl(264 49% 58%)
- HWB
- hwb(264 38% 21%)
- OKLCH
- oklch(0.582 0.157 299.7)
- OKLab
- oklab(0.582 0.078 -0.136)
- CIE Lab
- lab(49.21 33.63 -48.79)
- LCH
- lch(49.21 59.26 304.6)
- CMYK
- cmyk(31% 52% 0% 21%)
浅色调 · 深色调 · 灰色调
浅色调
- 9571CF
- A081D5
- AB91DB
- B6A0E1
- C2B0E7
- CEC0EC
- DACFF1
- E6DFF6
- F2EFFB
深色调
- 7753AE
- 654695
- 53397C
- 422D64
- 32214C
- 221536
- 140B22
- 07030F
- 010002
灰色调
- 8965C2
- 8869BB
- 876DB4
- 8570AD
- 8473A6
- 83769F
- 827997
- 827B90
- 817E88
配色和谐
互补色 +180°
- 8A61C9
Amethyst
- 728600
≈ Swamp Green
类似色 -30° +30°
- 8A61C9
Amethyst
- 5772D7
≈ Cornflower
- AC53A7
≈ Orchid Dottyback
三角配色 +120° +240°
- 8A61C9
Amethyst
- B46300
≈ Umber
- 008F7D
≈ Philips Green
分裂互补色 +150° +210°
- 8A61C9
Amethyst
- 977700
≈ Mesozoic Green
- 109344
≈ Paperboy’s Lawn
四角配色 +90° +180° +270°
对比度与无障碍
Ag
AA白底
WCAG 4.53:1 · APCA Lc 71
Ag
AA黑底
WCAG 4.63:1 · APCA Lc 30
最佳文字颜色: #000000
WCAG 4.63:1 (AA) · APCA Lc 30
Contrast pairs
代码片段
CSS
:root {
--amethyst: #8a61c9;
--amethyst-rgb: 138 97 201;
--amethyst-oklch: oklch(0.582 0.157 299.7);
}
.element {
color: var(--amethyst);
background-color: hsl(264 49% 58%);
border-color: oklch(0.582 0.157 299.7);
}Tailwind CSS v4
@theme {
--color-amethyst: #8a61c9;
--color-amethyst-50: #fdebff;
--color-amethyst-100: #f1dcff;
--color-amethyst-200: #e0c5ff;
--color-amethyst-300: #c6a4fa;
--color-amethyst-400: #ad87ed;
--color-amethyst-500: #9769dd;
--color-amethyst-600: #8059bb;
--color-amethyst-700: #664796;
--color-amethyst-800: #493471;
--color-amethyst-900: #332350;
--color-amethyst-950: #1f1235;
}SCSS
$amethyst: #8a61c9;
$amethyst-rgb: 138, 97, 201;
$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);
}