最接近的命名颜色 · #9D42C5
#9D42C5
最接近的命名颜色: Fuchsia Pheromone
#9D42C5(rgb(157 66 197)、hsl(282 53% 52%)、oklch(0.558 0.203 313.7))最接近命名颜色 Fuchsia Pheromone。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#9D42C5
oklch(0.558 0.203 313.7)
颜色转换
- HEX
- #9d42c5
- RGB
- rgb(157 66 197)
- HSL
- hsl(282 53% 52%)
- HWB
- hwb(282 26% 23%)
- OKLCH
- oklch(0.558 0.203 313.7)
- OKLab
- oklab(0.558 0.141 -0.147)
- CIE Lab
- lab(45.35 53.49 -52.47)
- LCH
- lch(45.35 74.93 315.6)
- CMYK
- cmyk(20% 66% 0% 23%)
浅色调 · 深色调 · 灰色调
浅色调
- A758CC
- B16CD3
- BB7FD9
- C591DF
- CFA4E5
- D8B6EB
- E2C8F0
- ECDAF5
- F5EDFA
深色调
- 8838AB
- 732F92
- 5F2579
- 4C1C61
- 3A144B
- 280B35
- 180521
- 09010E
- 010002
灰色调
- 9A4BBF
- 9853B8
- 955BB2
- 9261AB
- 9067A4
- 8D6D9D
- 8A7296
- 87778F
- 837C88
配色和谐
互补色 +180°
- 9D42C5
Fuchsia Pheromone
- 4A8600
≈ Kelp Forest
类似色 -30° +30°
- 9D42C5
Fuchsia Pheromone
- 6B58E4
≈ Candy Grape Fizz
- BE2E91
≈ Lust Priestess
三角配色 +120° +240°
- 9D42C5
Fuchsia Pheromone
- 9D6700
≈ Cumin Ochre
- 008584
≈ Green Lapis
分裂互补色 +150° +210°
- 9D42C5
Fuchsia Pheromone
- 807600
≈ Tool Green
- 008960
≈ Absinthe Turquoise
四角配色 +90° +180° +270°
- 9D42C5
Fuchsia Pheromone
- BE4A00
≈ Brick Orange
- 4A8600
≈ Kelp Forest
- 0080A1
≈ Best of Both Worlds
对比度与无障碍
Ag
AA白底
WCAG 5.22:1 · APCA Lc 75
Ag
Fail黑底
WCAG 4.01:1 · APCA Lc 27
最佳文字颜色: #FFFFFF
WCAG 5.22:1 (AA) · APCA Lc 75
Contrast pairs
代码片段
CSS
:root {
--fuchsia-pheromone: #9d42c5;
--fuchsia-pheromone-rgb: 157 66 197;
--fuchsia-pheromone-oklch: oklch(0.558 0.203 313.7);
}
.element {
color: var(--fuchsia-pheromone);
background-color: hsl(282 53% 52%);
border-color: oklch(0.558 0.203 313.7);
}Tailwind CSS v4
@theme {
--color-fuchsia-pheromone: #9d42c5;
--color-fuchsia-pheromone-50: #ffe4ff;
--color-fuchsia-pheromone-100: #ffd4ff;
--color-fuchsia-pheromone-200: #f6b9ff;
--color-fuchsia-pheromone-300: #df95fd;
--color-fuchsia-pheromone-400: #c973f1;
--color-fuchsia-pheromone-500: #b54ee2;
--color-fuchsia-pheromone-600: #9944bf;
--color-fuchsia-pheromone-700: #7a3699;
--color-fuchsia-pheromone-800: #592774;
--color-fuchsia-pheromone-900: #3e1a52;
--color-fuchsia-pheromone-950: #270937;
}SCSS
$fuchsia-pheromone: #9d42c5;
$fuchsia-pheromone-rgb: 157, 66, 197;
$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);
}