最接近的命名颜色 · #9D45BD
#9D45BD
最接近的命名颜色: Fuchsia Pheromone
#9D45BD(rgb(157 69 189)、hsl(284 48% 51%)、oklch(0.556 0.191 315.9))最接近命名颜色 Fuchsia Pheromone。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#9D45BD
oklch(0.556 0.191 315.9)
颜色转换
- HEX
- #9d45bd
- RGB
- rgb(157 69 189)
- HSL
- hsl(284 48% 51%)
- HWB
- hwb(284 27% 26%)
- OKLCH
- oklch(0.556 0.191 315.9)
- OKLab
- oklab(0.556 0.137 -0.133)
- CIE Lab
- lab(45.43 50.92 -47.7)
- LCH
- lch(45.43 69.77 316.9)
- CMYK
- cmyk(17% 63% 0% 26%)
浅色调 · 深色调 · 灰色调
浅色调
- A75AC4
- B16DCC
- BB80D3
- C592DA
- CFA4E0
- D9B6E7
- E2C8ED
- ECDAF3
- F5EDF9
深色调
- 883BA4
- 73318C
- 5F2774
- 4C1E5D
- 3A1547
- 280C33
- 18051F
- 09020D
- 010002
灰色调
- 9B4DB7
- 9855B2
- 955CAC
- 9362A6
- 9068A0
- 8D6D9A
- 8A7294
- 87778D
- 837C87
配色和谐
互补色 +180°
- 9D45BD
Fuchsia Pheromone
- 418700
≈ Mughal Green
类似色 -30° +30°
- 9D45BD
Fuchsia Pheromone
- 6E59DC
≈ Astro Purple
- BC348B
≈ Lust Priestess
三角配色 +120° +240°
- 9D45BD
Fuchsia Pheromone
- 9A6800
≈ Gamboge Brown
- 008485
≈ Bay Teal
分裂互补色 +150° +210°
- 9D45BD
Fuchsia Pheromone
- 7D7700
≈ Tool Green
- 008863
≈ Spectral Green
四角配色 +90° +180° +270°
- 9D45BD
Fuchsia Pheromone
- BA4E00
≈ Crustose Lichen
- 418700
≈ Mughal Green
- 007FA3
≈ Kingfisher Sheen
对比度与无障碍
Ag
AA白底
WCAG 5.22:1 · APCA Lc 75
Ag
Fail黑底
WCAG 4.01:1 · APCA Lc 26
最佳文字颜色: #FFFFFF
WCAG 5.22:1 (AA) · APCA Lc 75
Contrast pairs
代码片段
CSS
:root {
--fuchsia-pheromone: #9d45bd;
--fuchsia-pheromone-rgb: 157 69 189;
--fuchsia-pheromone-oklch: oklch(0.556 0.191 315.9);
}
.element {
color: var(--fuchsia-pheromone);
background-color: hsl(284 48% 51%);
border-color: oklch(0.556 0.191 315.9);
}Tailwind CSS v4
@theme {
--color-fuchsia-pheromone: #9d45bd;
--color-fuchsia-pheromone-50: #ffe5ff;
--color-fuchsia-pheromone-100: #ffd4ff;
--color-fuchsia-pheromone-200: #f6baff;
--color-fuchsia-pheromone-300: #e096f7;
--color-fuchsia-pheromone-400: #c976e9;
--color-fuchsia-pheromone-500: #b552d9;
--color-fuchsia-pheromone-600: #9947b7;
--color-fuchsia-pheromone-700: #7b3893;
--color-fuchsia-pheromone-800: #592870;
--color-fuchsia-pheromone-900: #3f1b4f;
--color-fuchsia-pheromone-950: #280b34;
}SCSS
$fuchsia-pheromone: #9d45bd;
$fuchsia-pheromone-rgb: 157, 69, 189;
$fuchsia-pheromone-light: mix(#fff, $fuchsia-pheromone, 20%);
$fuchsia-pheromone-dark: mix(#000, $fuchsia-pheromone, 20%);
.element {
color: $fuchsia-pheromone;
box-shadow: 0 0 0 2px rgba($fuchsia-pheromone, 0.35);
}