最接近的命名颜色 · #9C0CA6
#9C0CA6
最接近的命名颜色: Magentle
#9C0CA6(rgb(156 12 166)、hsl(296 87% 35%)、oklch(0.496 0.226 325))最接近命名颜色 Magentle。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#9C0CA6
oklch(0.496 0.226 325)
颜色转换
- HEX
- #9c0ca6
- RGB
- rgb(156 12 166)
- HSL
- hsl(296 87% 35%)
- HWB
- hwb(296 5% 35%)
- OKLCH
- oklch(0.496 0.226 325)
- OKLab
- oklab(0.496 0.185 -0.13)
- CIE Lab
- lab(37.79 64.57 -46.31)
- LCH
- lch(37.79 79.46 324.4)
- CMYK
- cmyk(6% 93% 0% 35%)
浅色调 · 深色调 · 灰色调
浅色调
- A736B0
- B251B9
- BD68C3
- C87FCC
- D294D5
- DBA9DE
- E5BFE6
- EED4EF
- F7E9F7
深色调
- 870990
- 73067A
- 5F0465
- 4C0351
- 39023E
- 28012B
- 18001A
- 09000A
- 010001
灰色调
- 9A28A3
- 9937A0
- 96449C
- 944F99
- 925895
- 8F6191
- 8C698D
- 887189
- 847985
配色和谐
互补色 +180°
- 9C0CA6
Magentle
- 00771D
≈ Green Glutton
类似色 -30° +30°
- 9C0CA6
Magentle
- 7131D1
≈ Sagat Purple
- B10068
≈ Plum Paradise
三角配色 +120° +240°
- 9C0CA6
Magentle
- 7C5C00
≈ Hè Sè Brown
- 007079
≈ Iridescent Peacock
分裂互补色 +150° +210°
- 9C0CA6
Magentle
- 616900
≈ Mud Green
- 00735F
≈ Tropical Rainforest
四角配色 +90° +180° +270°
- 9C0CA6
Magentle
- 954B00
≈ Brownie
- 00771D
≈ Green Glutton
- 006A95
≈ Hydra
对比度与无障碍
Ag
AA白底
WCAG 6.96:1 · APCA Lc 82
Ag
Fail黑底
WCAG 3.01:1 · APCA Lc 20
最佳文字颜色: #FFFFFF
WCAG 6.96:1 (AA) · APCA Lc 82
Contrast pairs
代码片段
CSS
:root {
--magentle: #9c0ca6;
--magentle-rgb: 156 12 166;
--magentle-oklch: oklch(0.496 0.226 325);
}
.element {
color: var(--magentle);
background-color: hsl(296 87% 35%);
border-color: oklch(0.496 0.226 325);
}Tailwind CSS v4
@theme {
--color-magentle: #9c0ca6;
--color-magentle-50: #ffdfff;
--color-magentle-100: #ffcdff;
--color-magentle-200: #ffb1ff;
--color-magentle-300: #f28af3;
--color-magentle-400: #de65e6;
--color-magentle-500: #cb37d6;
--color-magentle-600: #ab31b4;
--color-magentle-700: #8a2891;
--color-magentle-800: #651c6e;
--color-magentle-900: #47124e;
--color-magentle-950: #2e0333;
}SCSS
$magentle: #9c0ca6;
$magentle-rgb: 156, 12, 166;
$magentle-light: mix(#fff, $magentle, 20%);
$magentle-dark: mix(#000, $magentle, 20%);
.element {
color: $magentle;
box-shadow: 0 0 0 2px rgba($magentle, 0.35);
}