最接近的命名颜色 · #A542B2
#A542B2
最接近的命名颜色: Fuchsia Pheromone
#A542B2(rgb(165 66 178)、hsl(293 46% 48%)、oklch(0.557 0.189 322.9))最接近命名颜色 Fuchsia Pheromone。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#A542B2
oklch(0.557 0.189 322.9)
颜色转换
- HEX
- #a542b2
- RGB
- rgb(165 66 178)
- HSL
- hsl(293 46% 48%)
- HWB
- hwb(293 26% 30%)
- OKLCH
- oklch(0.557 0.189 322.9)
- OKLab
- oklab(0.557 0.151 -0.114)
- CIE Lab
- lab(45.6 52.77 -40.91)
- LCH
- lch(45.6 66.77 322.2)
- CMYK
- cmyk(7% 63% 0% 30%)
浅色调 · 深色调 · 灰色调
浅色调
- AF57BA
- B96BC3
- C27ECB
- CB90D2
- D4A3DA
- DDB5E2
- E6C7E9
- EEDAF1
- F7ECF8
深色调
- 8F389A
- 792F83
- 65256D
- 511C57
- 3D1443
- 2B0B2F
- 1A051D
- 0A010C
- 010001
灰色调
- A24BAD
- 9F53A9
- 9C5AA4
- 98609F
- 95669A
- 916C95
- 8D7190
- 89768B
- 857B86
配色和谐
互补色 +180°
- A542B2
Fuchsia Pheromone
- 008D09
≈ Clover
类似色 -30° +30°
- A542B2
Fuchsia Pheromone
- 7B55D6
≈ Astro Purple
- C0337D
≈ Very Berry
三角配色 +120° +240°
- A542B2
Fuchsia Pheromone
- 946C00
≈ Honey Yellow Green
- 00838C
≈ Precious Blue
分裂互补色 +150° +210°
- A542B2
Fuchsia Pheromone
- 757A00
≈ Flag Green
- 00876D
≈ Celtic Queen
四角配色 +90° +180° +270°
- A542B2
Fuchsia Pheromone
- B15700
≈ Elm Brown Red
- 008D09
≈ Clover
- 007EAB
≈ Neptune
对比度与无障碍
Ag
AA白底
WCAG 5.22:1 · APCA Lc 75
Ag
Fail黑底
WCAG 4.02:1 · APCA Lc 27
最佳文字颜色: #FFFFFF
WCAG 5.22:1 (AA) · APCA Lc 75
Contrast pairs
代码片段
CSS
:root {
--fuchsia-pheromone: #a542b2;
--fuchsia-pheromone-rgb: 165 66 178;
--fuchsia-pheromone-oklch: oklch(0.557 0.189 322.9);
}
.element {
color: var(--fuchsia-pheromone);
background-color: hsl(293 46% 48%);
border-color: oklch(0.557 0.189 322.9);
}Tailwind CSS v4
@theme {
--color-fuchsia-pheromone: #a542b2;
--color-fuchsia-pheromone-50: #ffe3ff;
--color-fuchsia-pheromone-100: #ffd3ff;
--color-fuchsia-pheromone-200: #fdb8ff;
--color-fuchsia-pheromone-300: #e794ec;
--color-fuchsia-pheromone-400: #d273de;
--color-fuchsia-pheromone-500: #be4fcd;
--color-fuchsia-pheromone-600: #a144ad;
--color-fuchsia-pheromone-700: #81368b;
--color-fuchsia-pheromone-800: #5e2769;
--color-fuchsia-pheromone-900: #421a4a;
--color-fuchsia-pheromone-950: #2a0931;
}SCSS
$fuchsia-pheromone: #a542b2;
$fuchsia-pheromone-rgb: 165, 66, 178;
$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);
}